cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase request timenout on jQuery.sap.sjax

miqueias_maia
Participant
0 Kudos

I have an application that consumes data from a REST API. When I run the request on Postman, the request has been succesfull and when we made this same request under UI5 Application using jQuery.sap.sjax, we got an timeout error with somenthing like 30 seconds.

There exist anyway to increse this timenout?

View Entire Topic
pinakipatra
Contributor
0 Kudos

I think jun.wu5 answer is valid .

If you are using approuter , try increasing the destination timeout setting (default it is 30 seconds). SAP Application Router | SAP Blogs.

As jQuery.sap is deprecated, I think better option would be to use $ajax or OdataModel.read api