简体   繁体   中英

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

/auth/local will only respond to a POST request.

Any other HTTP Request (GET, DELETE, UPDATE etc) will be sent a 404 status (Not found).

Make sure you are sending a HTTP POST request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM