“无法获得任何答复”;邮递员与子域一起使用时的响应 [英] "Could not get any response" response when using postman with subdomain

查看:168
本文介绍了“无法获得任何答复”;邮递员与子域一起使用时的响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用邮递员测试我拥有的API,当请求不包含子域时,一切都很好,但是,当我在URL中添加子域时,我会收到此响应。


无法获得任何响应



连接到


  1. 关闭 常规标签中的 SSL证书验证




  2. 关闭在代理标签中,strong>全局代理配置和使用系统代理




  3. 使请求超时



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:

  1. Off the SSL certificate verification in General Tab:

  2. Off the Global Proxy Configuration and Use System Proxy in Proxy Tab:

  3. Make Request Timeout to Zero

这篇关于“无法获得任何答复”;邮递员与子域一起使用时的响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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