Added semicolon to HTTP endpoint example.

This commit is contained in:
Victor 2015-12-03 09:15:51 +01:00
parent 68fb4ceb9c
commit d24a8fa281

View File

@ -432,7 +432,7 @@ use GraphQL\GraphQL;
use \Exception;
if (isset($_SERVER['CONTENT_TYPE']) && $_SERVER['CONTENT_TYPE'] === 'application/json') {
$rawBody = file_get_contents('php://input')
$rawBody = file_get_contents('php://input');
$data = json_decode($rawBody ?: '', true);
} else {
$data = $_POST;