skip to Main Content

PHP: Guzzle fails when sending large files

Using Guzzle for uploading files to a REST API: My PHP Code is: use GuzzleHttpClient; use GuzzleHttpRequestOptions; use GuzzleHttpPsr7; $apiClient = new Client([ 'base_uri' => $url, 'timeout' => 5, // seconds 'headers' => [ 'Content-Type' => 'application/json', 'Accept' => 'application/json',…

VIEW QUESTION
Back To Top
Search