How to POST JSON Data With PHP cURL
When we work on web services it is generally required to send json data via POST method. In this tutorial we will see how to post json data with PHP curl. It is very easy to post data in json form using header Content-Type: application/json in CURLOPT_HTTPHEADER. Here we put data in PHP array and … Read more