From d24a8fa2819a4b58b2d23831d650e8c6b6b830a7 Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 3 Dec 2015 09:15:51 +0100 Subject: [PATCH] Added semicolon to HTTP endpoint example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ce2e194..fc8a7a0 100644 --- a/README.md +++ b/README.md @@ -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;