Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Some hosting provides block or redirect PUT and DELETE requests #3
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.
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
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