“Could not get any response” response when using p

2019-01-14 01:28发布

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?

8条回答
小情绪 Triste *
2楼-- · 2019-01-14 01:59

For me it was the http://localhost instead of https://localhost.

查看更多
小情绪 Triste *
3楼-- · 2019-01-14 02:02

Hi This issue is resolved for me.

setting ->general -> Requesttimeout in ms = 0

查看更多
登录 后发表回答