About 873,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 to call the …

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

    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?

  3. PHP, cURL, and HTTP POST example? - Stack Overflow

    Can anyone show me how to do a PHP cURL with an HTTP POST? I want to send data like this: username=user1, password=passuser1, gender=1 To www.example.com I expect the cURL to return …

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

    Jan 14, 2011 · You call the api with the url, the api return information, you use this information to create the final result. ex: you want to write a html page who say hello xxx.

  5. How do I send a POST request with PHP? - Stack Overflow

    Apr 13, 2011 · For more details, see the HTTP API documentation. If you don't want to develop a custom theme or plugin to start the Wordpress engine, you can just do the following in an isolated …

  6. Returning JSON from a PHP Script - Stack Overflow

    Whenever you are trying to return JSON response for API or else make sure you have proper headers and also make sure you return a valid JSON data. Here is the sample script which helps you to …

  7. php - Using EU VIES REST Service to check VAT Number - Stack Overflow

    Nov 4, 2023 · The test service isn't intended to validate actual VAT numbers and more to test how your application responds to the various possible returns from the api. If you read the it has

  8. Implementing simple authentication for PHP REST API

    Oct 13, 2017 · The REST endpoint can then maintain a simple, centralized key-value store of Tokens and Secrets, and validate requests by computing the value. In this way you maintain the …

  9. Routing in RESTful API in PHP - Stack Overflow

    The second (and highly optional) part is creating code, that would take a human-readable route notation (like: /users/{id|[0-9]+} as an example) and turning it into the regular expression, which can be …

  10. Generating SAS token for Azure Blob storage in PHP with REST API

    Jan 3, 2024 · Now the PHP storage client libraries are being retired, and we're forced to use the raw REST API, I'm really struggling to generate the SAS key on the server side for my valet key pattern. I …