locked
ASP.NET Web API - Using $.post (Jquery.Post) on PUT Method. RRS feed

  • Question

  • User135423268 posted

    Good Day Everyone

    I have a afraid who told me to use $.GET and $.POST on my web API, I used it and it's going great but.... It only works on GET and POST only but no on PUT and Delete, if this work on those maybe I'm doing wroing? but If it's all works on 4 of them then there is a problem on my code?

    Tell me If I have to post my codes here.

    Thanks and regards.

    Tuesday, August 7, 2018 6:28 AM

Answers

  • User753101303 posted

    Hi

    Always start from the problem you have. F12 Console could show a runtime error message or F12 Network allows to see the http status code for your request. For example you perhaps get the 405 http status code which means the server is not configured yet to accept PUT or DELETE queries.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 7, 2018 7:01 AM