AdapterMan icon indicating copy to clipboard operation
AdapterMan copied to clipboard

post data can not be obtained, is something wrong?

Open dunkong opened this issue 11 months ago • 3 comments

Thanks to the author for providing this good project, which solved a big problem for me, but I couldn't get the post data during the use process, and there was no data in print request()->all(). I used laravel9, is there anything that needs special attention, thank you very much

dunkong avatar Mar 22 '24 08:03 dunkong

Please read https://github.com/joanhey/AdapterMan/issues/66#issuecomment-1913545482

Adapterman have a large set of tests, including POST data without problems. So the problem will be in the implementation used in Laravel.

If you still have problems after read the recommendations, please comment again here.

joanhey avatar Mar 22 '24 09:03 joanhey

Please read #66 (comment)

Adapterman have a large set of tests, including POST data without problems. So the problem will be in the implementation used in Laravel.

If you still have problems after read the recommendations, please comment again here.

Of course, I think this is a problem of my own use, not an AdapterMan problem, but I really can't find any reason for it, and I also see the same issue. I am very sorry if I have bothered you

dunkong avatar Mar 22 '24 09:03 dunkong

Please read: https://laravel.com/docs/10.x/octane#dependency-injection-and-octane

The same happens with Adapterman.

PD: Laravel will fix most of these problems in newer versions, but still the dev need to know these recommendations to avoid in the app code.

joanhey avatar Mar 22 '24 09:03 joanhey