jeudi 26 septembre 2019

cURL error 0: The cURL request was retried 3 times and did not succeed

I'm currently developing a rest API call using (Guzzle client / Laravel) to a custom API. I have tried this several times by adding wrong body. I'm getting the following error

cURL error 0: 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. (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Following are the details of my development environment: Language : php, Framework : Laravel 5.4, Client : Guzzle, OS : Ubuntu 16.04,

I would like to know the reason behind this

Please kindly assist me on this matter,

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire