-
-
Save petervansark/b5a69f018d1a4ac1db7deb8ba919980b to your computer and use it in GitHub Desktop.
PHP example to receive an HTTP POST request from Push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| file_put_contents('/tmp/ds.' . microtime(true) . '.json', file_get_contents('php://input')); | |
| echo json_encode(array('success' => true)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment