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
instead, generated collection has the following: "body": { "mode": "formdata", "formdata": [ { "key": "reqFile", "type": "file" }, ] }
This presents a problem since Postman doesn't recognize the second object as valid and there is no source for file upload.
Attempts with the following config also fail to insert "src" into a collection: "overwriteRequestBody": [ { "key": "reqFile", "value": "/mytestfile.txt", "insert": true, "overwrite": true } ]
The text was updated successfully, but these errors were encountered:
bpogy
changed the title
formdata overwrite creates a new object instead of updating existing
overwriteRequestBody with formdata for file upload doesn't inject "src" into collection
Jul 27, 2023
bpogy
changed the title
overwriteRequestBody with formdata for file upload doesn't inject "src" into collection
form-data overwriteRequestBody used with file upload doesn't inject "src" into collection.
Aug 3, 2023
for File Upload, i have the following overwrite:
"overwriteRequestBody": [ { "key": "reqFile", "value": "/mytestfile.txt", "insert": true } ]
Postman expects this request to look like this:
"body": { "mode": "formdata", "formdata": [ { "key": "reqFile", "type": "file", "src": "/mytestfile.txt" } ] },
instead, generated collection has the following:
"body": { "mode": "formdata", "formdata": [ { "key": "reqFile", "type": "file" }, ] }
This presents a problem since Postman doesn't recognize the second object as valid and there is no source for file upload.
Attempts with the following config also fail to insert "src" into a collection:
"overwriteRequestBody": [ { "key": "reqFile", "value": "/mytestfile.txt", "insert": true, "overwrite": true } ]
The text was updated successfully, but these errors were encountered: