I tried to get the xml using this API. Server response is NULL.
Guzzle give me this error:
[error] => The cURL request was retried 3 times and did not succeed. The most likely reason for the failure is that cURL was unable to rewind the body of the request and subsequent retries resulted in the same error. Turn on the debug option to see what went wrong. See https://bugs.php.net/bug.php?id=47204 for more information.
[url] => https://home.textkernel.nl/sourcebox/extract.do?useJsonErrorMsg=true&useHttpErrorCodes=true
I added sink option to the Guzzle client:
$this->client = new Client([
'base_uri' => $this->baseUri,
'sink' => 'C:\Webserver\sink.txt',
'verify' => false,
]);
In C:\Webserver\sink.txt i get a complete XML file with the extracted CV.
Is there a way to fix this problem ?
I tried to get the xml using this API. Server response is NULL.
Guzzle give me this error:
[error] => The cURL request was retried 3 times and did not succeed. The most likely reason for the failure is that cURL was unable to rewind the body of the request and subsequent retries resulted in the same error. Turn on the debug option to see what went wrong. See https://bugs.php.net/bug.php?id=47204 for more information.
[url] => https://home.textkernel.nl/sourcebox/extract.do?useJsonErrorMsg=true&useHttpErrorCodes=true
I added sink option to the Guzzle client:
$this->client = new Client([
'base_uri' => $this->baseUri,
'sink' => 'C:\Webserver\sink.txt',
'verify' => false,
]);
In C:\Webserver\sink.txt i get a complete XML file with the extracted CV.
Is there a way to fix this problem ?