wamp on Windows 7 allows PUT but not DELETE, how to enable DELETE?
Posted by: jasonframe (---.lv.lv.cox.net)
Date: October 03, 2012 02:18AM

Whenever I try to call a DELETE request through a JQUERY call, I get this error: HTTP method not allowed for the requested resource. Use one of these instead: PUT

I have been trying to get the HTTP DELETE method to work on my wamp server, but nothing that I have tried will work.

I added the code below to both httpd.conf and also to a .htaccess file

<LimitExcept PUT DELETE POST GET>
Require valid-user
</LimitExcept>


I enabled WebDAV like some other people said to do.

Thanks for any help.

Options: ReplyQuote
Re: wamp on Windows 7 allows PUT but not DELETE, how to enable DELETE?
Posted by: RiggsFolly (---.as13285.net)
Date: October 05, 2012 01:55PM

Can I ask what you are trying to achieve with a HTTP DELETE?

Options: ReplyQuote
Re: wamp on Windows 7 allows PUT but not DELETE, how to enable DELETE?
Posted by: Well_RESTed (80.71.30.---)
Date: October 23, 2012 03:26PM

DELETE and PUT methods are needed for a RESTful service/framework like PHP SLIM.

I can't get them to work either, having tried everything OP did. Can anyone help?

Options: ReplyQuote


Sorry, only registered users may post in this forum.