Hi All,
I have exposed one api(api1) which is getting details along with a URL, there is another api (api2)called in the same logic, to which we are passing the URL and that api is downloading a file to the server and providing us a response, following the response we need to send response to api 1.
In this whole operation I am getting time out error. How can I resolve this?
Thanks
Shivangi
My issue is resolved, I used SetRequestTimeout method from HTTP request handler to set the timeout.
Hi Shivangi,
The timeout is caused by consumed api(api2).
Just increase the timeout of consumed api(api2).No need to increase timeout for api1. It should work.
RegardsKrishnanand Pathak
We already tried this and it is not working.
Hello Shivangi,
The correct way is already mentioned above. If it is not working in that case, the consumer application needs to increase the Server request Timeout. Which application are you using? is it OutSystems based which is consuming the API?
1) Increase the timeout in Seconds for Exposed Rest API
2) Increase Server request timeout for consuming modules.
Thanks,
Neha
we tried the consumed api separately and it took 15 secs to complete the functionality.
We built the api using .net.