Home  >  Q&A  >  body text

axios post request 404 - Stack Overflow

Replace post with get request to be able to request, which is embarrassing.

某草草某草草2685 days ago1004

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-07-05 10:54:01

    This has nothing to do with which JS library is used. Even JQuery, native Ajax, and Promise will return the same error result. This is because the vast majority of web servers, including but not limited to Apache, IIS, and Nginx, do not allow static files to respond to POST. ask.

    reply
    0
  • Cancelreply