Redirect to external url with form data from controller

Posted 6 months ago by Nagraj722

I need submit a form to external website from the controller and method should be POST. can anyone help me.

I have tried below code but not succeed.

Redirect::to('https://externalwebsite.com/page.php')->withInputs($request->all());

Thanks,

Please sign in or create an account to participate in this conversation.