You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, totally agree. The link is a bit out of date now - so @lsmith77 is talking about the fact that if there is a _method parameter (query parameter or post parameter) in the request, then its value becomes the request method. This allows you to "fake" PUT requests in a form, simply by including a hidden input called _method with a value of PUT.
I think this would be a good, short, cookbook article - "How to use a _method parameter to fake PUT and DELETE requests".
https://github.com/symfony/HttpFoundation/blob/master/Request.php#L841
The text was updated successfully, but these errors were encountered: