Support the ongoing development of Laravel.io →
posted 10 years ago
Forms
Last updated 2 years ago.
0

I assume you are referring to the fact that the form method is set to POST not PUT?

If so see the red box on http://laravel.com/docs/html#opening-a-form

Last updated 2 years ago.
0

Oh... Sorry for the thread, now i see that Laravel creates a hidden field with the http request type.

<input name="_method" type="hidden" value="PUT">

I am still new at Laravel

Last updated 2 years ago.
0

web browser forms can't do PUT

Last updated 2 years ago.
0

m0j0r1s1ng said:

web browser forms can't do PUT

Yes, that's why Laravel uses the hidden field method to tell the controller/route what to do.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.