Could not get any response postman报错 但是浏览器可以访问

289 阅读1分钟

答案在最后一张图片

案例分析

把postman报错的信息复制再这里,你去翻译一下

Could not get any response
There was an error connecting to http://118.xxx.xxx.10:11134/api-customer/terminal/user/information.
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

 老夫用网易有道翻译如下

 

没有得到任何回应
有一个错误连接到http://118.xxx.xxx.10:11134/api-customer/terminal/user/information。
原因:
服务器无法发送响应:
确保后端正常工作
自签名SSL证书被阻塞:
通过在设置> General中关闭“SSL证书验证”来修复这个问题
代理配置不正确
确保在设置>代理中正确配置了代理
请求超时:
更改>设置中的请求超时

此时按照教程和百度结果是叫你改设置

如果成功了,那就好了,如果不成功,那么是因为

原因1:头部传入了接口不需要的参数,并且body也传入了参数,如图

原因2:高频错误(输入格式不小心)

 

 

 以下是热心网友遇到的问题,我在这里显示的展示出来,方便有相同问题的老铁少走弯路

 

不要偷懒,可能就是空格,大小写,甚至某个字母错了,赶紧重新添加上去,因为只有这些情况,如果还是没有解决,那么告诉我,留言,我去找postman,和它大战300回合