如何增加邮递员客户端请求超时 [英] How to increase Postman Client request timeout

查看:129
本文介绍了如何增加邮递员客户端请求超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在向postman请求一个API,并在2分钟后获得响应,这很好,因为业务逻辑很复杂。但问题是,邮差给$ <


502坏门户


之后,我检查了业务逻辑,发现它没有任何错误地成功执行。

所以我关心的是如何增加请求时间。

解决方案

你使用什么版本的邮递员?


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.

解决方案

What version of postman do you use? In version 4.1.3 I have XHR Timeout(ms) which means :

  • Set how long the app should wait for a response before saying that the server isn't responding.

Settings -> general ->XHR Timeout(ms)

这篇关于如何增加邮递员客户端请求超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆