Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
[X] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
When you use the "import from cURL string" function in Postman, and your request has headers in it that start with "-", for example "-Test-Header", Postman cannot read the string further and completely drops everything after the header, even the request body.
Example:
Note that everything after "Test-Header1" is dropped, and the POST request turned into a GET request.
Steps To Reproduce
Create a POST request with a body and several headers, one header name should start with "-"
Is there an existing issue for this?
Describe the Issue
When you use the "import from cURL string" function in Postman, and your request has headers in it that start with "-", for example "-Test-Header", Postman cannot read the string further and completely drops everything after the header, even the request body.
Example:
Note that everything after "Test-Header1" is dropped, and the POST request turned into a GET request.
Steps To Reproduce
Screenshots or Videos
No response
Operating System
macOS
Postman Version
11.18.2
Postman Platform
Postman App
User Account Type
Signed In User
Additional Context?
No response