Support the ongoing development of Laravel.io →
Requests Forms
Last updated 2 years 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 2 years ago.
0

I 'm a green hand .Thanks!

Last updated 2 years 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 2 years ago.
0

Thanks. But I like POST better.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

xie123hil xie123hil Joined 1 Mar 2014

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.