cURL debug log

0.00 inc. VAT

SKU: curl_log Categories: , , ,

Description

Usually the whole HTTP communication is done via cURL library. This feature captures all the HTTP request/responses sent/received via cURL. It is particularly useful when troubleshooting some communication issues because the cURL debug log will provide you additional information which normally is not visible on the UI.
Sample log:


——————————————————————————–
[2015-06-25 08:16:07] URL=https://api.dropbox.com/1/account/info
——————————————————————————–
* Hostname was found in DNS cache
* Trying 108.160.172.237…
* Connected to api.dropbox.com (108.160.172.237) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /home/user8754648/wordpress/wpmybackup/ssl/cacert.pem
CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* Server certificate:
* subject: OU=Domain Control Validated; CN=api.dropboxapi.com
* start date: 2015-05-13 19:06:39 GMT
* expire date: 2016-05-07 18:59:42 GMT
* issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority – G2
* SSL certificate verify ok.
> GET /1/account/info HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
Host: api.dropbox.com
Accept: */*
Authorization: Bearer aWYgeW91IHJlYWQgdGhpcyB0aGVuIHRoZXJlIGlzIGEgbGl0dGxlIGhhY2tlciBpbiB5b3U

< HTTP/1.1 200 OK
< Server: nginx
< Date: Thu, 25 Jun 2015 08:16:07 GMT
< Content-Type: text/javascript
< Transfer-Encoding: chunked
< Connection: keep-alive
< x-content-type-options: nosniff
* Added cookie gvc=”MTIzNDU2Nzg5ODc2NTQzMjE” for domain api.dropbox.com, path /, expire 1592900167
< set-cookie: gvc=MTIzNDU2Nzg5ODc2NTQzMjE; expires=Tue, 23 Jun 2020 08:16:07 GMT; httponly; Path=/; secure
< x-server-response-time: 69
< x-dropbox-request-id: 1602db3cea5c36cd589c1ca33816fbdd
< pragma: no-cache
< cache-control: no-cache
< x-dropbox-http-protocol: None
< x-frame-options: SAMEORIGIN
< * Connection #0 to host api.dropbox.com left intact [2015-06-25 08:16:07] Curl error code=0, HTTP code=200 ——————————————————————————– Global CURL options: Array ( [CURLOPT_HTTPAUTH] => -17
[CURLOPT_USERPWD] =>
[CURLOPT_COOKIESESSION] =>
[CURLOPT_FOLLOWLOCATION] => 1

Command CURL options:
Array
(
[CURLOPT_URL] => https://api.dropbox.com/1/account/info
[CURLOPT_RETURNTRANSFER] => 1
[CURLOPT_HTTPHEADER] => Array
(
[0] => Authorization: Bearer aWYgeW91IHJlYWQgdGhpcyB0aGVuIHRoZXJlIGlzIGEgbGl0dGxlIGhhY2tlciBpbiB5b3U
)

)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.