Slim Php not recognizing gets

I am just starting to work with Slim PHP. What could be the reason that get is not recognized on server? This route works: it returns required text https://mywebsite/back/public This route doesn’t …

only use api/array data that meets a specific criteria

I have some api data, that is structured as follows information random number price amount total random number price amount total data i use atm to grab the …

laravel 7 keeps adding ‘/public/’ to my api routes

I am trying to make a php curl request to my laravel api Here’s the curl function function CallAPI($method, $url, $data = false) { $curl = curl_init(); switch ($method) { case &…

How to make URL from Laravel routes

I’ve got Laravel backend and I’m trying to make iOS to it, but there is no documentation. It is my first time with Laravel, so confused with the routes and middlewares. How do I compose URL from code …

PHP cURL GET Request to REST API not returning anything

I’m trying to use the UMLS Search REST API. I successfully retrieved the TGT and The ST. However, when trying to do a search as mentioned in the documentations, I got no response at all. Here’s my …

How to pass multiple array in response – Laravel API

I am creating my API for mobile app in Laravel. I am facing an issue where I have to pass two arrays as json but it shows error. Here is the code which I am using public function showSearchPage($…

Angular: Material Autocomplete populated with api data returns JSON value

I am new to angular and am working on a small ledger application. In it, the user has to select customer from a material autocomplete field which is populated with data from an API. Like so: PHP Back-…

Get response variables from array

I am trying to output all the users I have created in my Marqeta API Sandbox environment. I’m making a GET request to /users through my custom marqetaAPI function that handles each request type. Call …

Opening multiple urls with CURL – Using api with CURL – too many urls and too slow

I have a software. There is a table, there are URLs in this table. There are 100 URLs on each page. picture Then I got an API where I can pull Alexa and DA Values. I wanted to show these values ​​…

can i add new key in models?

I want to add a key while I’m getting any response of an API using Models in laravel, Currently, I’m developing an API to get a response with a new one key to add to dynamically.