php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70331 Make raw request content available for any kind of request type
Submitted: 2015-08-23 09:51 UTC Modified: 2016-08-28 04:22 UTC
From: carsten at bleicker dot de Assigned:
Status: No Feedback Package: HTTP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: carsten at bleicker dot de
New email:
PHP Version: OS:

 

 [2015-08-23 09:51 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-24 05:27 UTC] 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"
 [2016-08-17 09:46 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2016-08-17 09:46 UTC] mike@php.net
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
 [2016-08-28 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC