Reputation: 112
Laravel's Form::open()
is generating an HTTPS URL for the POST location instead of HTTP. How can I force this to work?
Here is the Form::open()
code:
{{ Form::open(URL::to('someurl/somedest', 'POST', array('class' => 'form-horizontal'))); }}
Upvotes: 0
Views: 679
Reputation: 12172
Form::open()
should only generate an http
url, Form::open_secure()
is for https
forms. Also, you don't need the URL::to()
in there. Try this:
{{ Form::open('someurl/somedest', 'POST', array('class' => 'form-horizontal')) }}
Here's the documentation page, for reference.
Upvotes: 2