We have developed a Project ,which needs to be called to 2 times one by one. The issue is when it is being called the first time through WSO2(middleware) in a form of JSON request via REST API ,everything is working fine but when it is being called the second time with the same JSON request we are getting Bad Request error with the detail being " Error reading JSON request data: Illegal control code at 1".
Can anybody suggest what is happening wrong in the second call.
{
"type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "Bad Request",
"detail": "Bad Request: Error reading JSON request data: Illegal control code at 1 [character 2 line 1]",
"internal-code": ""
}