About 12,000,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 - How to get AUTHORIZATION header value? - Stack Overflow

    I am trying to obtain a Bearer Token from a custom API I am developing. When I am requesting my API, I am setting this header information with this info: 'Content-Type': 'application/json', …

  3. apache - htaccess for php api - Stack Overflow

    Well, after a fair bit of playing around and investigating I got the following to work: RewriteEngine on RewriteRule "^phpinfo$" "api/phpinfo.php" RewriteRule "^products$" "api/product/read.php"

  4. php - Rest API how to authentication via Basic Auth? - Stack …

    Mar 19, 2016 · I want to create RESTful API with Basic Authorization. How can i do it in php ? how can i get below String and Check authentication on php side via headers ? Basic …

  5. file_get_contents () vs. curl for invoking APIs with PHP

    I setup my API key and custom search engine, and when pasted my test query directly on my browser it worked fine, and I got the JSON file displayed to me. Then I tried to invoke the API …

  6. REACT + PHP - blocked my CORS policy only in POST request

    Overview My react app is hosted on githup-pages and a PHP API is hosted on a standard, paid hosting. This works (GET) When I started developing my app, I encountered a pretty popular …

  7. PHP API: Call a Post API with multiple parameters

    Apr 3, 2018 · I'm new to making API. I want to know, how to call a post API with multiple parameters? I know get API can be called with multiple parameters but is there any way to call …

  8. Error trying to connect to FedEx Ship Service API when using PHP

    May 4, 2012 · I had decided to integrate FedEx Shipping Service into one of my online apps. I downloaded a sample PHP code from the FedEX developer center. But when I tried to work …

  9. json - PHP: Using API key in CURL GET Call - Stack Overflow

    I have seen the post for using api key for authenticating post calls in curl. I have a GET call that requires apikey for authorization i.e the request must have an authorization header cantaining the

  10. connecting to a php api from java - Stack Overflow

    Jun 15, 2014 · I am trying to connect to an api written in php from a java client. For simplicity of the issue, I reduced the api to the following: (which simply returns the request given to the …