You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected behavior should continue to work as it does as if there is no pre-request script on the request. The behavior does work fine without any script, and adding the auth update should not have any affect on the request body formdata inputs.
Insomnia Version
v10.2.0
What operating system are you using?
macOS
Operating System Version
Darwin arm64 23.6.0
Installation method
Homebrew
Last Known Working Insomnia version
No response
The text was updated successfully, but these errors were encountered:
Just following up on this post. I tried to be as detailed as I could, but please let me know if you have any issues recreating this issue. This seems like, at the very least, unexpected behavior, but I'm happy to test any alternative workflows if there is another way of accomplishing this. My end goal is simply to have the pre-request script set the authentication for a multi-part form request, so if there are additional steps to accomplish that, I'm happy to test them out to see if they work for my purposes.
Expected Behavior
Multipart form fields should not be affected when adding pre-request script that does not touch request body.
Actual Behavior
Multipart from-data does not include
filename
for a form field that includes file data.filename
, nor any file data.filename
aspect is required for some APIs (like Ktor) to understand that the FormData field is actually a file, and not a normal form field.Reproduction Steps
multipart
Is there an existing issue for this?
Which sync method do you use?
Additional Information
The expected behavior should continue to work as it does as if there is no pre-request script on the request. The behavior does work fine without any script, and adding the auth update should not have any affect on the request body formdata inputs.
Insomnia Version
v10.2.0
What operating system are you using?
macOS
Operating System Version
Darwin arm64 23.6.0
Installation method
Homebrew
Last Known Working Insomnia version
No response
The text was updated successfully, but these errors were encountered: