Added Support for Custom Headers
·
42 commits
to master
since this release
Custom Headers
withHeaders(array $headers)
Call This method before any other methods to set the headers. You can chain this method.
new PlacesApi($key = null, $verifySSL = true, array $headers = [])
To have custom headers set for every call, you can pass 3rd parameter as the headers to class constructor.
Note: For Laravel Users, you can set this in config file with key headers
See Commit: a50983a