Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some hosting provides block or redirect PUT and DELETE requests #3

Closed
alberto234 opened this issue Mar 9, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@alberto234
Copy link
Owner

commented Mar 9, 2016

The REST API that the cliient interface provides support the corresponding HTTP verbs for CRUD operations. It has been noticed that some hosting providers set up their web servers such that they block PUT and DELETE requests. Some state that this is for security reasons since these operations are considered dangerous.

Personally this is an antiquated line of thinking, as REST APIs now proliferate the web. We should state that these HTTP verbs are required for using the Wurrd plugins. However, given that Mibew is a self-hosted solution, Wurrd should work within the boundaries of what the minimum requirements of the Mibew core are.

@alberto234 alberto234 added the bug label Mar 9, 2016

@alberto234

This comment has been minimized.

Copy link
Owner Author

commented Mar 11, 2016

This has been fixed in 1.0.3 by exposing POST for requests that normally expect PUT or DELETE.

If you experience an error code 501 or error code null and:

You are using version 1.0.2 or lower of the plugin

  • Update your plugin using the steps in this link
  • Go to the next section

You are using version 1.0.3 or above of the plugin

Add this to the plugins section of your config.yml file and try again.

  plugins:
      "Wurrd:ClientInterface": # Plugin's configurations are described below
          use_http_post: true

@alberto234 alberto234 closed this Mar 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.