小编Ade*_*jan的帖子

Laravel表单行动网址

我不知道如何使用Laravel Form将数据(在POST中)发送到另一个站点而不是我的站点.

我试过一个(GET)表格:

{!! Form::open(array('url' => 'http://other.domain.com')) !!}
    <input type="text" name="test" value="something" />
    <button type="submit">Submit</button>
{!! Form::close() !!}
Run Code Online (Sandbox Code Playgroud)

它保留在:mydomain:8000/mypage?test = something

但我希望这是http://other.domain.com?test=something

任何线索?

php forms laravel laravel-routing laravel-5

6
推荐指数
1
解决办法
3795
查看次数

标签 统计

forms ×1

laravel ×1

laravel-5 ×1

laravel-routing ×1

php ×1