-
Notifications
You must be signed in to change notification settings - Fork 193
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
Missing boundary in Content-Type when multipart/form-data #633
Comments
🎉 Thanks for opening your first issue here! Welcome to the community! |
Hi @AchrafAmil, did #625 address your issue? |
Thanks for sharing, I didn't know about #625. But it now doesn't include the json string item in the FormData ( As you can see in the screenshot the body doesn't include the |
Tested with the new stable
and I'm still facing the same problem as my previous comment (it does not include the json string item in the FormData). @sserrata let me know if you need any more details on this |
Hi @AchrafAmil can you test again using |
Now it's working, wow awesome, thanks a lot! 🎉 (I'll let you decide if we can already close this issue, etc) |
Describe the bug
The interactive Prism console for upload endpoint doesn't seem to make the right call for endpoints with content-type
multipart/form-data
Expected behavior
Expects the call made from the console to specify a
boundary
(otherwise the server receiving the request fails with a legit
java.io.IOException: Failed to parse multipart: Content-Type's boundary parameter is missing
).Current behavior
The request it makes when hitting the "send api request" seems malformatted.
Possible solution
Specify the boundary, e.g.
content-type: multipart/form-data; boundary=------WebKitFormBoundaryF6sSRjfPR0gJB7xK
Steps to reproduce
Screenshots
Your Environment
The text was updated successfully, but these errors were encountered: