How to POST JSON Data With PHP cURL.Posting JSON data with PHP cURL. How to POST and Receive JSON Data using cURL in PHP.How to post my JSON code to an API in PHP
Read this post on phpcluster.com