skip to Main Content

using php curl to get login token

I am trying to use php curl to get the login token from an external webpage but the login token I'm receiving is different from the actual one. Could someone please tell me what I'm missing. $ch = curl_init(); url_setopt($ch,…

VIEW QUESTION

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