基于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 运行

报错解决!

 

原文地址:https://www.cnblogs.com/chalkbox/p/12041853.html