New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error #2596
Comments
I am using API from this ,https://www.globalrewardsolutions.com/ |
Hi, same here, Composer:
Code:
Error Log:
|
Hi, We use GitHub issues only to discuss bugs and new features. For this kind of questions please use other support channels like stackoverflow. https://stackoverflow.com/questions/tagged/guzzle Never the less if you have any suggestion to improve our docs feel free to submit a PR. Contributions are welcome. |
I am trying to get member details via rest API in php for GRS storefront, I dont know how to use AuthData (), class, why docs of guzzle to hard to understand
id = 'EFDEMO'; $auth->token = 'BlC8CKxadtiOwdq0S019afV8bczn0Kh2'; //$auth->password = 'EFDEMO'; // not needed if using token $response = $client->get($url.'/getMemberAccount', array( 'auth' => base64_encode(json_encode($auth)), 'verify' => false, 'timeout' => 30 // seconds )); $jsonData = json_decode($response->getBody(), true); echo $jsonData;The text was updated successfully, but these errors were encountered: