Support the ongoing development of Laravel.io →
Requests Forms
Last updated 3 months ago.
0

your route is only for "get" -->

Route::get

if you post, you should use -->

Route::post

or for both

Route::any
Last updated 3 months ago.
0

I 'm a green hand .Thanks!

Last updated 3 months ago.
0

Or keep the get route and change the form opening to

{{ Form::open(array('url'=>'tool/url_translate', 'method' => 'GET')) }}

Laravel defaults to POST.

Last updated 3 months ago.
0

Thanks. But I like POST better.

Last updated 3 months ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

xie123hil xie123hil xie123hil Joined 1 Mar 2014

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.