joanhey / AdapterMan

Run almost any PHP app faster and asynchronously with Workerman, without touch 1 line of code in your fw or app. Also use it as Serverless.
https://twitter.com/adaptermanphp
MIT License
759 stars 50 forks source link

Can not get http body contents when use Lumen framework #21

Open jisheng100 opened 1 year ago

jisheng100 commented 1 year ago

Hello, I use this library to integrate my Lumen project, and found that Lumen cannot get the http body content

image

nginx configuration

image

request info

image

Php code of controller image

The $request->getContent() is return empty

Is there something wrong with my use? Thanks.

joanhey commented 1 year ago

Without check in your code, we can't help you.

We will a create page, about fixing frequent problems in applications.

Perhaps you have the $request, inside a Singleton.