I need some suggestions. I have a normal as a textarea form where I got some text like this:
Test,
test
But when I try to send this text to an api through a curl request, I got the result that the this is an invalid json. So is it possible to make this text one line with \r\n
?
When I try to send Test,\r\ntest
it is working correctly.