Hi there,
I have the following code which should trigger different http methods for each action:
The requests for edit and remove do not send the PUT or DELETE request method but OPTIONS which seems to be wrong from my point of view. How can I change the OPTIONS method into PUT or DELETE request methods?
Regards
I have the following code which should trigger different http methods for each action:
editor = new $.fn.dataTable.Editor( { "ajaxUrl": { "create": "POST http://uri/app.servers.ServerController?format=DataTables", "edit": "PUT http://uri/app.servers.ServerController?format=DataTables", "remove": "DELETE http://uri/app.servers.ServerController?format=DataTables", },
The requests for edit and remove do not send the PUT or DELETE request method but OPTIONS which seems to be wrong from my point of view. How can I change the OPTIONS method into PUT or DELETE request methods?
Regards