Skip to content

Instantly share code, notes, and snippets.

@stefanhuber
Last active January 16, 2017 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanhuber/9ffdf34d045ad8e6010cbe6b22c713dd to your computer and use it in GitHub Desktop.
Save stefanhuber/9ffdf34d045ad8e6010cbe6b22c713dd to your computer and use it in GitHub Desktop.
Get Body From HTTP Request
<?php
$input = @file_get_contents("php://input");
$event_json = json_decode($input);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment