When the type of ajax is get, a 405 error is reported, and it is OK to change it to post. Why is this? The get written by the teacher can be requested successfully, but mine is not, the attached picture

Error:

I followed the teacher in the MOOC, and the teacher can get the request successfully, but the type of my place can only be a post to request a success, and the get report 405, I don't understand why?

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324719173&siteId=291194637