Processing json POST request with PHP


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $data = json_decode(file_get_contents("php://input"), true);

URL: http://stackoverflow.com/questions/813487/how-to-post-json-to-php-with-curl

Report this snippet


Comments


You need to login to view comments.