I want to create the form which saves record in database and redirects the browser to a POST request to another server.
I tried this with
$this->redirect('http://anotherdomain.com/?var1=value1&var2=value2')
is that correctway?
Thanks in advance
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I want to create the form which saves record in database and redirects the browser to a POST request to another server.
I tried this with
$this->redirect('http://anotherdomain.com/?var1=value1&var2=value2')
Thanks in advance