if ($request->secure())
https://laravel.com/api/5.4/Illuminate/Http/Request.html#method_secure
Hello,
I'd like to test my urls for https. So I'd expect a Status 302 on normal URL's and a 200 on https URLS. The default one for the 302 is simple $response = $this->get('/');
The version for the https I cannot find any info about. How can I do a test response on an https request?
Never mind. I'll do it with get and enter the url manually with https. Thanks anyway. Hope it could have been done easier.
Please or to participate in this conversation.