Replace post with get request to be able to request, which is embarrassing.
天蓬老师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.