Skip to content

Instantly share code, notes, and snippets.

@rasy-js
Created April 9, 2017 15:25
Show Gist options
  • Save rasy-js/82714aa06a09b422818c22911052e291 to your computer and use it in GitHub Desktop.
Save rasy-js/82714aa06a09b422818c22911052e291 to your computer and use it in GitHub Desktop.
get json from request
<?php $json = json_decode(file_get_contents('php://input')); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment