Could not get any response postman報錯 但是瀏覽器可以訪問

                                                     答案在最後一張圖片 

案例分析

把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回合

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章