HTTP DELETE/PUT method - not implemented error

Asked by:
pytheas / 5 Points
Time:
2013-12-26 10:53 pm EST
Category:
Drupal
Hits:
1,240
I'm using Drupal and services module (particulary JSON interface) and although I can normally implement GET and POST HTTP methods, it seems that DELETE and PUT methods give me the following error: "501 Method Not Implemented". I think that this has to do with the server configuration.

As you can see here: https://gist.github.com/kylebrowning/affc9864487bb1b9c918 I *MUST* use that in order to delete/edit a Drupal node.

So:
1) Why HTTP DELETE/PUT method is not implemented in my server configuration?
2) Can that be enabled? And if not, do you have any available workarounds on the issue I described above?

Note: If I don't have the right permissions for deleting/editing a Drupal node, I'll get a permission error so I consider that safe enough from a Drupal point of view.

Thanks a lot,
Giannis

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

JeffMa
Staff
2,342 Points
2013-12-26 11:10 pm EST
Hello Giannis,

PUT and DELETE are indeed disabled on the server, as they are also removed in many modern browsers due to a very high security risk. Unfortunately, you would not be able to use these methods within our servers. They are disabled for your protection as they can be commonly exploited to gain unauthorized access to your site. I apologize for any inconvenience.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}