I am trying to send some huge json data which is around 2.5 MB to a Rest service via POST. Some times Http client connection is not waiting for the result, it simply moves to next connector which is not expected. Some times it waits around 2 minutes and then move on next connector. I have tried increasing the timeout. No luck on it. Sometimes it waits till it receives the result.
I have also tried splitting the content to send 200 records at once.. but still no luck. Issue remains the same.
I have tested the client Rest service via postman and able to get the results after 140 seconds around.
Any ideas/suggestions please. I got stuck on this.