Last active
June 17, 2024 16:50
-
-
Save theking2/27b3c2e2e0e8fd4a72502d49c1f9e202 to your computer and use it in GitHub Desktop.
read json body in php
This file contains 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 | |
$request = 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
how to sanitize this?