Reputation: 593
I am requesting an API from postman and getting response after 2 minutes, which is fine because the business logic is complex. But the problem is that postman is giving
502 Bad Gateway
After that, I checked the business logic and found that it successfully executed without any error.
So my concern is how to increase the request time.
Upvotes: 59
Views: 242275
Reputation: 545
Request timeout setting option in the latest version v10.8.1
Upvotes: 13
Reputation: 1722
For POSTMAN client new version go to Settings-->General-->Request timeout in ms (0 for infinity)
Upvotes: 36
Reputation: 1161
XHR Timeout(ms)
Set how long the app should wait for a response before saying that the server isn't responding.
Go to settings -> general ->XHR Timeout(ms) set it to 120000
Upvotes: 7