0

For an application in Laravel, I need a solution for this matter:

I'm looking for a way to go to an external url and on this website there is a (authentication) form for login. i want to redirect to this external url and fill in this form and submit it automatically. This without any user interaction.

an example: I redirect to https://google.com and the application fills in my account and password automatically. And submits this form also.

Anyone has an idea?

2 Answers2

0
redirect()->with();

Use this function and send data redirect url and get data and save database

0

Just add your value with "with()" function...

return redirect("google.com")->with([
           "account" => $value, "password" => $value2 
       ]);
  • This doesn't solve my problem... I need to submit the form on the external website, this only fills in the form – SeppeLemmens Apr 10 '19 at 11:28
  • Then I think your question description is not enough information.. You can describe your problem with more detail. Then I might i help you. – Md. Mohaiminul Hasan Apr 10 '19 at 18:28
  • If you want to submit an external form , then you need to know to how that form work or how that action page work... You need to submit proper variable.. Can you provide me that external form action page detail..? – Md. Mohaiminul Hasan Apr 10 '19 at 18:29