-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
staleBot: Stale IssueBot: Stale Issue
Description
- Insomnia Version: ___
- Operating System: Win 7
Details
I've a multipart with two fields, username and password. It works in Insomnia.
Whenever I generate the code for any language, I've the following (here in python requests)
import requests
url = "http://192.168.60.10/api/index.php"
payload = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"username\"\r\n\r\nadmin"
headers = {'content-type': 'multipart/form-data; boundary=---011000010111000001101001'}
response = requests.request("POST", url, data=payload, headers=headers)
print(response.text)The payload is missing its data past the first one. I've tried a bit with more data, changing data name just in case, swapping order between username and password : only the first data is in the generated code.
Metadata
Metadata
Assignees
Labels
staleBot: Stale IssueBot: Stale Issue
