search

Home  >  Q&A  >  body text

javascript - A 405 error was thrown during the http request! . .



ajaxThe background returns jsonp format, no problem!

ringa_leeringa_lee2780 days ago551

reply all(5)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-19 10:11:26

    Ask your backend

    reply
    0
  • 阿神

    阿神2017-05-19 10:11:26

    Find the developer corresponding to the server and confirm whether the interface is HTTP GET or POST

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-19 10:11:26

    Do not use the post method to request static resources.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-05-19 10:11:26

    Chrome should have told you the problem. Click on your request address and check the contents of the request and response. Generally, the response will tell you the result of the server-side response.

    reply
    0
  • 高洛峰

    高洛峰2017-05-19 10:11:26

    The 405 status code is usually method not allowed. It can be solved by asking the server whether it is get, post or put.

    reply
    0
  • Cancelreply