-
-
Notifications
You must be signed in to change notification settings - Fork 400
Description
Describe the bug
Imported curls don't work in postman when request body is present
To Reproduce
Import curl for request which contains some body
Sample curl:
curl "https://collector.github.com/github/collect" -X POST -H "Cache-Control: max-age=0" -H "Accept: /" -H "Origin: https://github.com" -H "Referer: https://github.com/kasketis/netfox" -H "User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148" -H "Content-Type: application/json" -d "{"body":"abc"}"
Import curl in postman and try to hit, it don't work, if you go to body section of request, it shows invalid body(attached ss of body)
If we change double quote in curl in data to single quote, it works fine
Expected behavior
Imported curl should work properly without any modification
Enviroment:
Reproducable on every environment
I tried on
Netfox version 1.21.0
Postman version 9.13.0
