ajax load results in "NetworkError: 405 Method Not Allowed"

ajax load results in "NetworkError: 405 Method Not Allowed"

kmansoorkmansoor Posts: 11Questions: 6Answers: 0

Hello- I am trying to load data through ajax:

$("#my-equipments").dataTable({
    "ajax": "/myapp/equipments/datatable"
});

This results in : "NetworkError: 405 Method Not Allowed

Any pointers will be highly appreciated.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    The server must be configured to disallow GET requests to that URL or some other misconfiguration. I'd suggest you look at the server's error logs.

    Allan

  • kmansoorkmansoor Posts: 11Questions: 6Answers: 0

    Right, server setup was wrong.
    Thanks.

This discussion has been closed.