How to get past login screen on Guzzle call
I have to send information to an external website using cURL. I set up Guzzle on my Laravel application. I have the basics set up, but according to the documentation of the website, there is an action that's required for the username and password. How can I pass the 'action' along with the credentials needed to log in and get access? The website states: curl [-k] –dump-header <header_file> -F “action=login” -F “username=<username>” -F “password=<password>” https://<website_URL> My controller: $client = new \GuzzleHttp\Client(); $response = $client->get('http://website.com/page/login/', array(