I am calling http post method from java class. Example, suppose there is a task creator portal where there are few columns task id, description, assignee field, components, task summary. I am calling http client.execute(post). and passing the body as task id, description, assignee field, components, task summary. If description contains new line it's not able to post and the Json objects also i am not able to get properly. Getting below error code:
Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value\n
I shall be highly obliged if somebody can help. Let me know if you need more details regarding the situation.
Thank you.