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.
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.