Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geggleto/method-override

Allows HTTP Verb Overrides
https://github.com/geggleto/method-override

Last synced: 5 days ago
JSON representation

Allows HTTP Verb Overrides

Awesome Lists containing this project

README

        

# Method-Override
Provides a PSR-7 compliant middleware that overrides the default HTTP VERB by inspecting the URI and the _method of a message body

```
URI: ?_method=

GET /index.php/youraction?_method=POST
Would actually turn into a POST request

OR
A POST route may provide a _method='' override

OR
You can specify the header X-Http-Method-Override to override
```