Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Not Found #5

Open
zmz125 opened this issue May 10, 2023 · 2 comments
Open

404 Not Found #5

zmz125 opened this issue May 10, 2023 · 2 comments

Comments

@zmz125
Copy link

zmz125 commented May 10, 2023

执行 python chatapi.py 后打开页面显示:
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
image
image
请问是什么问题?如何解决

@XksA-me
Copy link
Owner

XksA-me commented May 16, 2023

@XksA-me
Copy link
Owner

XksA-me commented May 16, 2023

发送请求需要加上对应路由地址,如果是本地测试 项目运行后服务访问地址:

生成token : http://127.0.0.1:5000/token
调用api : http://127.0.0.1:5000/api
如果使用的服务器,将 127.0.0.1 改成服务器 IP 地址即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants