Top "Guzzle" questions

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

sending array via query string in guzzle

Guzzle client creates by default from this code $client->get('https://example.com/{?a}', array('a' => array(…

php rest query-string restful-url guzzle
Building query string programmatically in Guzzle?

In my PHP Guzzle client code, I have something like $c = new Client('http://test.com/api/1.0/function'); $request = $c-&…

php guzzle
Guzzle form_params not accepting array

I am using Guzzle 6 and I can't pass array with form_params in the body of the client $postFields = [ form_…

php guzzle guzzle6
GuzzleHttp\Client change base url dynamically

I am working on a project with a restful API. I use GuzzleHttp library in order to get/put etc. …

php rest http guzzle
Passing client certificates through Curl request using Guzzle

I have the following curl command sudo curl -E openyes.crt.pem --key openyes.key.pem https://sky.myapitutorial.in:444/…

php laravel ssl curl guzzle
Converting this cURL for Guzzle

I've tried reading through the Guzzle docs but I can't wrap my head around this problem. I want to use …

php xml xmlhttprequest guzzle
Translate cURL request to Guzzle

I am trying to use Guzzle instead of directly using cURL to achieve and HTTP request. How do I make …

guzzle
Guzzle POST request not working

I would like to use Google URL Shortener API. Now, I need to send a JSON POST request to the …

php json post guzzle google-url-shortener
GuzzleHttp\Client ignores base path in base_url

I'm using Guzzle in a set of PHPUnit-powered tests for a REST API. I create my client as follows: use …

php guzzle
base_uri not being based from guzzle client instantiation

I'm using lumen trying to set up simple api requests via guzzle. The problem is the base_uri parameter doesn't …

guzzle lumen