Hi all,
I’ve got JSON coming in to a webhook in the following format
{
"content": "Text text text.\n\nMore text:\n\n\n\nFinal text",
"other_property": "other_value",
...
}
And I’m trying to get that content field sent to another API via the Http module.
But the \n characters keep getting replaced by newlines, which then break the endpoint I’m calling, who are expecting \n instead of actual newlines.
How can I retain the \n as they are, without being turned into actual newlines?
Your help is much appreciated!
Regards,
Andy