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

postman调用接口报405: Method Not Allowed #8

Closed
DYJYZP opened this issue May 20, 2020 · 4 comments
Closed

postman调用接口报405: Method Not Allowed #8

DYJYZP opened this issue May 20, 2020 · 4 comments

Comments

@DYJYZP
Copy link

DYJYZP commented May 20, 2020

大佬,
postman调用返回报错:

<title>405: Method Not Allowed</title> 405: Method Not Allowed 怎么解?用的是x-www-form-urlencoded模式,post方式调用
@alisen39
Copy link
Owner

直接使用form-data模式就好啦
像这样:
image

@DYJYZP
Copy link
Author

DYJYZP commented May 21, 2020

图片看不到(碎了),用form-data也报一样的错误

@alisen39
Copy link
Owner

那你再看一下 接口文档,api调用要用POST方法哦

@fyzzz
Copy link

fyzzz commented Apr 14, 2022

url最后要加上:/

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

3 participants