基於Postman中的報錯


Postman中的報錯:

Could not get any response 錯誤

Could not get any response
There was an error connecting to http://127.0.0.1:8888/api/private/v1/login.
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

  原因:為打開接口文件 app.js

解決方法:

API項目中 shift+右鍵  打開命令行輸入:node app 運行

報錯解決!

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM