You need to sign in to do that
Don't have an account?
Jithin Chand
Rest callout : read timed out
Hi All,
I have a REST callout to an external API. The Apex callout is causing callout error as it is taking more than 2 minutes to execute.
However, when i use the same record in POSTMAN tool, i am getting the response in 10 seconds.
What could be the reson that there is so much variation in the time to execute the same functionality.
I have a REST callout to an external API. The Apex callout is causing callout error as it is taking more than 2 minutes to execute.
However, when i use the same record in POSTMAN tool, i am getting the response in 10 seconds.
What could be the reson that there is so much variation in the time to execute the same functionality.
Best Answer chosen by Jithin Chand
Jithin Chand
I set the header ('content-type','application/Json'). to fix the issue.