Finally found a working solution - will post
Jun 1, 2015
4
Level 1
guzzle http with basic auth example
Iv'e been trying to get a basic api request to work. Tried numerous examples and just can't get it working.
Basically the request would look like this:
URL: http://example.com/api/test Header: Authorization Value: Basic xxxsomekeykerexxx
I can the request just fine in postman though following the laracasts guzzle tutorial (https://laracasts.com/lessons/http-requests-with-guzzle) and guzzlehttp induction, I cant find an actual working example.
Any her would greatly be appreciated.
Please or to participate in this conversation.