how do I get linebreaks in a json request body in Postman? I want to send the following body (raw, application/json) in a POST request in Postman:
{"csrRequest":"-----BEGIN CERTIFICATE REQUEST-----
MIICwzCCAasCAQAwfjELMAkGA1UEBhMCc3YxEjAQBgNVBAgMCVN
0b2NraG9sbTESUEBwwJU3RvY2tob2xtMRMfandMuchMoreLines
-----END CERTIFICATE REQUEST-----" }
I've tried putting everything in one line and forcing the line breaks with \n, \r\n and other similar combinations, but all I get out on the wire is the escaped combinations replaced with space, no line breaks what so ever.
What to do?
just write what you want in notepad or any text editor and copy it and paste in postman field
I tested this with postman version 7.29.1 and it worked
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With