From 94920a93515081fb446bb27529f9aea6df159004 Mon Sep 17 00:00:00 2001 From: Patrick Louys Date: Thu, 18 Aug 2016 17:47:28 +0200 Subject: [PATCH] Updated README with input stream --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 654f775..01ebd7f 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ $cookieBuilder = new CookieBuilder; // Disable the secure flag because this is only an example $cookieBuilder->setDefaultSecure(false); -$request = new HttpRequest($_GET, $_POST, $_COOKIE, $_FILES, $_SERVER); +$request = new HttpRequest($_GET, $_POST, $_COOKIE, $_FILES, $_SERVER, file_get_contents('php://input')); $response = new HttpResponse; $content = '

Hello World

';