-
Notifications
You must be signed in to change notification settings - Fork 94
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
How to use Req:parse_post() with {auto_recv_body,false} ? #97
Comments
why would querystring have anything to do with the body? are you experiencing an error? what are you trying to achieve? if you ask for help you should consider an extra important 20 seconds of your life to formulate a question :) thank you. |
Sorry! It was my browser mistake. :( |
you are using if you want to parse a body, use the appropriate All of this is in examples/docs, for instance here's an example: Exports here: Does this solve your issue? r. |
That's really hard to write question after vocation. I'm looking for some function like |
thank you for this. misultin has been discontinued, my reasons here. r. |
Some times i need to auto receive request body. For example for getting vars from "/login" POST request.
And also i need to upload big files on server and save it in special folder. (Big means > 100MB).
In this cases i need to have different post_max_size. And in first case i need to allow auto_recv_body.
Here is a part of sample code.
Every time I try to login using POST-request I get the message "Error. You need to login.".
Do I need to manually load each time the body of the request and process it to get the variables. Or there is a way to use parse_post() ??
The text was updated successfully, but these errors were encountered: