[英]unable to access the api path localhost:1337/auth/local always return not found in strappi
I installed a fresh strapi project and trying to authenticate api using jwt token.but the auth/local api always return not found我安装了一个新的 Strapi 项目并尝试使用 jwt 令牌验证 api。但是 auth/local api 总是返回 not found
/auth/local
will only respond to a POST
request. /auth/local
只会响应POST
请求。
Any other HTTP Request (GET, DELETE, UPDATE etc) will be sent a 404 status (Not found).任何其他 HTTP 请求(GET、DELETE、UPDATE 等)都将发送 404 状态(未找到)。
Make sure you are sending a HTTP POST request.确保您发送的是 HTTP POST 请求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.