Overriding Http method. #105
mahmutbayri
started this conversation in
Ideas
Replies: 1 comment
-
@mahmutbayri looks great 👍 I've talked with @clue about this and we definitely see potential for this being a part of X one day. We had a similar approach already in mind so it's nice to see that we're on the same page here ^^ I want to use this opportunity to pass the same question back to you and the community. Do you think this should be shipped as part of X? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have created a simple crud app here https://github.com/mahmutbayri/framework-x-database-crud . In order to handle put and delete method that are sent via HTML form i have created a simple middleware -> https://github.com/mahmutbayri/framework-x-database-crud/blob/master/src/Middleware/HttpMethodOverride.php.
Symfony and Laravel frameworks use the same method -> https://github.com/symfony/http-foundation/blob/6.1/Request.php#L1200
Do you think that we should add this feature?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions