Top "Guzzle" questions

Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.

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
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
DELETE request with parameters using Guzzle

I have to do a DELETE request, with parameters, in the CodeIgnitor platform. First, I tried using cURL, but I …

php codeigniter curl guzzle http-delete
Can Goutte/Guzzle be forced into UTF-8 mode?

I'm scraping from a UTF-8 site, using Goutte, which internally uses Guzzle. The site declares a meta tag of UTF-8, …

php web-scraping guzzle goutte symfony-components
PHPUnit and mock request from Guzzle

I have a class with the following function : public function get(string $uri) : stdClass { $this->client = new Client; $response = $…

php laravel mocking phpunit guzzle
How to return Guzzle JSON response

I am using Guzzle to make a aSync request that returns JSON. The call is working fine and the response …

php guzzle
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
Moving Curl client ssl to Guzzle

I'm using Guzzle v3.9.2 with both php 5.3 and php 5.5. I have the following working curl code that uses an ssl …

php curl ssl guzzle
Passing cookies from browser to Guzzle 6 client

I have a PHP webapp that makes requests to another PHP API. I use Guzzle to make the http requests, …

php laravel cookies guzzle guzzle6