-
Notifications
You must be signed in to change notification settings - Fork 71
Empty php://input on post request. #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Which bootstrap and what type of post request?
Viele Grüße,
Andreas
… Am 13.09.2018 um 15:16 schrieb dskozin ***@***.***>:
Hello!
I'm trying to use php-pm, but have empty php://input on post request.
This happens when run in docker and when run without docker.
Can't understand why.
I thought this may because nginx, but i just proxy request from nginx to embeded server, and it's work properly.
Somebody can help me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually, if you're using a request/response framework- why should |
If request is large there is more useful to use it as stream. |
This is supported e.g. By the Symfony API, see https://api.symfony.com/4.1/Symfony/Component/HttpFoundation/Request.html#method_getContent. As far as ppm is concerned you‘ll not be able to use the php built-in streams. |
Ping @dskozin can we close this issue? |
Yes. I thinked php://input is normal way for any cases. I was wrong. |
You‘re welcome |
Hello!
I'm trying to use php-pm, but have empty php://input on post request.
This happens when run in docker and when run without docker.
Can't understand why.
I thought this may because nginx, but i just proxy request from nginx to embeded server, and it's work properly.
Somebody can help me?
May be similar to #136
The text was updated successfully, but these errors were encountered: