About 185,000 results
Open links in new tab
  1. Call a REST API in PHP - Stack Overflow

    Mar 21, 2012 · Our client had given me a REST API to which I need to make a PHP call. But as a matter of fact, the documentation given with the API is very limited, so I don't really know how …

  2. php - Using Clean URLs in RESTful API - Stack Overflow

    Clean urls have nothing to do with REST apis. They're just a nice way to prettify urls that would otherwise have ugly query strings. They're generally implemented using mod_rewrite to take …

  3. php - How to build a RESTful API? - Stack Overflow

    Jan 14, 2011 · Look in my api file I check the get parameter and call a function thanks to this value. You can do a include of user.php and call a function which is in this file, Or you can put …

  4. php - How to write a REST API? - Stack Overflow

    I have programmed a REST API in ZEND Framework using the Zend_Rest_Controller, on the iPhone I used ASIHTTPRequest. My experience with both where good. At the beginning I had …

  5. rest - How do I make a request using HTTP basic authentication …

    Jan 26, 2010 · I'm building a REST web service client in PHP and at the moment I'm using curl to make requests to the service. How do I use curl to make authenticated (http basic) requests? …

  6. php - Rest API and Slim Framework - Stack Overflow

    Feb 17, 2016 · You should remove '.' in DbConnect.php and DbHandler.php DbConnect.php include_once dirname(__FILE__) . './Config.php'; -> include_once dirname(__FILE__) . …

  7. How can I call a REST API in Php - Stack Overflow

    Jun 3, 2024 · Any http client written for php such as curl or guzzle can do it. You can even use file_get_contents if you enjoy torturing yourself. As for the specifics of what to put in the …

  8. json - Creating a REST API using PHP - Stack Overflow

    Jan 30, 2016 · I’m creating my first API to which if two values are passed, I should get the response in the JSON format. The number will be passed as parameters by POST. Either …

  9. php - REST api not working - Stack Overflow

    Aug 26, 2017 · I am new to php development. Just for practicing I am creating a rest API following a video tutorial. I have followed each and every step but still unable to get the desired result. …

  10. php - Apache Mod Rewrite Rest Api - Stack Overflow

    Sep 29, 2022 · I'm working on some rest api in php. In development I always hosted my local php api using php -S 127.0.0.1:9000. Now i need to host this rest api I built in a vps that has …

Refresh