Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/geggleto/method-override
- Owner: geggleto
- Created: 2015-11-12T16:52:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T19:17:18.000Z (almost 9 years ago)
- Last Synced: 2024-04-16T22:17:08.590Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 requestOR
A POST route may provide a _method='' overrideOR
You can specify the header X-Http-Method-Override to override
```