-
Notifications
You must be signed in to change notification settings - Fork 38
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
upload file with multipart/form-data does not work #57
Comments
Exactly this error also cost me a good hour yesterday. Cause with me a missing blank line between
I wanted to look at it again and find what the spec for multipart/form-data says about this case, but haven't had the time yet. Also, my example of this, I will check again, not that I accidentally inserted the blank line there. |
I switched to Rest Client in vscode, and it worked with following modification: Also, I've succeed posting with httpyac with adding a new blank line. Thanks. |
My PDF example was apparently special because it had a last blank line. This has obscured the error. The cause is that the file import removes a line break, but it is needed. |
Error is fixed with version 2.21.0. thx:-) |
I followed this example: https://github.com/AnWeber/httpyac/tree/main/examples#multipartform-data to make a file upload request.
request.http:
but got the following output:
It seems the body part is missing in this request, could you help me find out if I've missed something in this request?
The text was updated successfully, but these errors were encountered: