“无法获得任何答复”;邮递员与子域一起使用时的响应 [英] "Could not get any response" response when using postman with subdomain
问题描述
我正在使用邮递员测试我拥有的API,当请求不包含子域时,一切都很好,但是,当我在URL中添加子域时,我会收到此响应。
无法获得任何响应
连接到
关闭 常规标签中的 SSL证书验证:
关闭在代理标签中,strong>全局代理配置和使用系统代理:
使请求超时零
I am using postman to test an API I have, all is good when the request does not contain sub-domain, however when I add a sub-domain to URL I am getting this response.
Could not get any response
There was an error connecting to http://subdomain.localhost:port/api/
Why this might have happened:
The server couldn't send a response:Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:Fix this by turning off 'SSL certificate verification' in Settings > General
Proxy configured incorrectly Ensure that proxy is configured correctly in Settings > Proxy
Request timeout:Change request timeout in Settings > General
If I copy the same URL from postman and paste it into the browser I get a proper response, is there some kind of configurations I should do to make postman work with sub-domains?
解决方案First Go to Settings in Postman:
Off the SSL certificate verification in General Tab:
Off the Global Proxy Configuration and Use System Proxy in Proxy Tab:
Make Request Timeout to Zero
这篇关于“无法获得任何答复”;邮递员与子域一起使用时的响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!