Issue Parsing json data

{“message”:“Order Confirmation # \n\nOrder Detailsn\n\n\n\nSent”,“subject”:“Subject Here”,“sender”:“”}

This is the data i am sending as post request, the problem is that \n is automatically getting convert to new line while sending the request, below is how it looks like

As you can see new line is added and its not sending as \n. What can i do to fix this , because of this im getting error - {“type”:“request_error”,“detail”:“JSON parse error - Invalid control character at: line 1 column 40 (char 39)”}

"\\n" on all \n 
it will work
2 Likes

thanks it works
thanks it works