Req #70331 [Opn->Fbk]: Make raw request content available for any kind of request type
| From: | mike@php.net | Date: | Wed, 17 Aug 2016 09:47:00 +0000 |
| Subject: | Req #70331 [Opn->Fbk]: Make raw request content available for any kind of request type | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203342@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70331&edit=1
ID: 70331
Updated by: mike@php.net
Reported by: carsten at bleicker dot de
Summary: Make raw request content available for any kind of
request type
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: HTTP related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Does the combination of apfd [1] and json_post [2] fulfill your needs?
[1] http://pecl.php.net/apfd
[2] http://pecl.php.net/json_post
Previous Comments:
------------------------------------------------------------------------
[2015-08-24 05:27:42] carsten at bleicker dot de
@see http://php.net/manual/de/wrappers.php.php#wrappers.php.input
php://input is not available with enctype="multipart/form-data"
------------------------------------------------------------------------
[2015-08-23 09:51:44] carsten at bleicker dot de
Description:
------------
I want to get the the content of php://input for patch/post/put or any other request method to parse
anything by myself. f.e. its currently not possible to parse the content of a json patch request to
build proper apis. currently you get an empty result using php://input if you receive a patch
request.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70331&edit=1