Top "Guzzle6" questions

Using PHP Guzzle HTTP 6 to send JSON with data that is already encoded

I am trying to send a POST request which contains a raw JSON string with the following header: Content-Type: application/…

php json guzzle guzzle6
Why I get Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: 404'?

I try catch exception, but i still get "Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: 404' …

php guzzle guzzle6
PHP - JWT get token wrong number of segments

I need consume a API using JWT, for this, I'm build a API client from PHP with using Guzzle and …

php firebase jwt guzzle6
Guzzle 6 - Get request total time

I'm searching to retrieve the request total time in Guzzle 6, just after a simple GET request : $client = new GuzzleHttp\Client(); $…

php curl guzzle guzzle6
How can I get Guzzle 6 to retry a request upon a 503 error in Laravel

I've written some code in Laravel 5.2 to retrieve results from an unrelible API source. However, it needs to be able …

php http middleware guzzle6
How can I asynchronously download files with Guzzle 6?

I am trying to asynchronously download files with Guzzle 6, but the documentation seems vague and couldn't find any useful examples. …

php guzzle guzzle6
Object of class GuzzleHttp\Psr7\Request could not be converted to string

I've got an issue for laravel 5.4 when I trying to using guzzleHttp. here is my code. use GuzzleHttp\Client; $url = …

php laravel laravel-5.4 guzzle6 psr-7
Send asynchronous request without waiting the response using guzzle

I have the following two functions public function myEndpoint(){ $this->logger->debug('Started'); $this->guzzle->requestAsync(…

php asynchronous guzzle guzzle6
How to Retrieve HTTP Status Code with Guzzle?

New to Guzzle/Http. I have a API rest url login that answer with 401 code if not authorized, or 400 if …

guzzle http-status-codes guzzle6
GuzzleHttp:how can I save cookies from a POST response and use it in the next POST?

I'm using Guzzle to login my API site, and in the moment Im login with the right credentials, I get …

php cookies laravel-5 guzzle guzzle6