Top "Guzzlehttp" questions

DO NOT USE THIS TAG it's a duplicate tag, use [guzzle] instead

cURL error 6: Could not resolve host: test.example.localhost (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in

I am trying to curl to my localhost laravel site. I am using XAMPP 7.1 When I try to reconnect this …

php curl multi-tenant guzzlehttp
Guzzle - Laravel. How to make request with x-www-form-url-encoded

I need to integrate an API so I write function: public function test() { $client = new GuzzleHttp\Client(); try { $res = $client-&…

laravel postman guzzle guzzlehttp
Guzzle returns stream empty body instead of json body

When I use Postman to make an API call I receive a JSON object..which is what I expected. However …

php laravel guzzlehttp
How to add headers in Guzzle http

I'm building a small application in Laravel 5.5 where I'm using Guzzle Http to get call the api url and get …

php laravel laravel-5.5 guzzle guzzlehttp
Laravel Class 'App\Http\Controllers\GuzzleHttp\Client' not found

I've installed the client and I did an update using composer dump autoload but I still end up with the …

php laravel laravel-5 composer-php guzzlehttp
Laravel Unresolvable dependency resolving [Parameter #0 [ <required> $method ]] in class GuzzleHttp\Psr7\Request

When posting form I am getting this exception Unresolvable dependency resolving [Parameter #0 [ $method ]] in class GuzzleHttp\Psr7\Request Searched and …

php laravel exception laravel-5 guzzlehttp