Skip to content
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

post data can not be obtained, is something wrong? #74

Open
dunkong opened this issue Mar 22, 2024 · 3 comments
Open

post data can not be obtained, is something wrong? #74

dunkong opened this issue Mar 22, 2024 · 3 comments

Comments

@dunkong
Copy link

dunkong commented Mar 22, 2024

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

@joanhey
Copy link
Owner

joanhey commented Mar 22, 2024

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.

@dunkong
Copy link
Author

dunkong commented Mar 22, 2024

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

@joanhey
Copy link
Owner

joanhey commented Mar 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants