Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 198.41.208.235...
- * Connected to api.fitbit.com (198.41.208.235) port 443 (#0)
- * ALPN, offering http/1.1
- * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
- * successfully set certificate verify locations:
- * CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: none
- * TLSv1.2 (OUT), TLS header, Certificate Status (22):
- } [5 bytes data]
- * TLSv1.2 (OUT), TLS handshake, Client hello (1):
- } [512 bytes data]
- * TLSv1.2 (IN), TLS handshake, Server hello (2):
- { [108 bytes data]
- * TLSv1.2 (IN), TLS handshake, Certificate (11):
- { [2744 bytes data]
- * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
- { [333 bytes data]
- * TLSv1.2 (IN), TLS handshake, Server finished (14):
- { [4 bytes data]
- * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
- } [70 bytes data]
- * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
- } [1 bytes data]
- * TLSv1.2 (OUT), TLS handshake, Finished (20):
- } [16 bytes data]
- * TLSv1.2 (IN), TLS change cipher, Client hello (1):
- { [1 bytes data]
- * TLSv1.2 (IN), TLS handshake, Finished (20):
- { [16 bytes data]
- * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
- * ALPN, server accepted to use http/1.1
- * Server certificate:
- * subject: OU=Domain Control Validated; OU=PositiveSSL Multi-Domain; CN=ssl100216.cloudflaressl.com
- * start date: May 15 00:00:00 2015 GMT
- * expire date: Dec 31 23:59:59 2015 GMT
- * subjectAltName: api.fitbit.com matched
- * issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO Domain Validation Secure Server CA 2
- * SSL certificate verify ok.
- } [5 bytes data]
- > GET /1/user/-/activities/heart/date/today/1d.json HTTP/1.1
- > Host: api.fitbit.com
- > User-Agent: curl/7.45.0
- > Accept: */*
- > Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0NDU2MzMyNDIsInNjb3BlcyI6Indsb2Mgd3BybyB3bnV0IHdzbGUgd3NldCB3aHIgd3dlaSB3YWN0IHdzb2MiLCJzdWIiOiIzUlRLOFYiLCJhdWQiOiIyMjlXSEQiLCJpc3MiOiJGaXRiaXQiLCJ0eXAiOiJhY2Nlc3NfdG9rZW4iLCJpYXQiOjE0NDU2Mjk2NDJ9.lCY3TKLAWhvpv4L8P6S6pNgB_8-AaWy4RwDYH1Maxjo
- >
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{ [5 bytes data]
- < HTTP/1.1 200 OK
- < Server: cloudflare-nginx
- < Date: Fri, 23 Oct 2015 20:02:36 GMT
- < Content-Type: application/json;charset=UTF-8
- < Transfer-Encoding: chunked
- < Connection: keep-alive
- < Set-Cookie: __cfduid=da3894b244e56bf9068027aea97092ecd1445630555; expires=Sat, 22-Oct-16 20:02:35 GMT; path=/; domain=.fitbit.com; HttpOnly
- < X-UA-Compatible: IE=edge,chrome=1
- < Expires: Thu, 01 Jan 1970 00:00:00 GMT
- < Cache-control: no-cache, must-revalidate
- < Pragma: no-cache
- < Fitbit-Rate-Limit-Limit: 150
- < Fitbit-Rate-Limit-Remaining: 148
- < Fitbit-Rate-Limit-Reset: 3444
- < Set-Cookie: JSESSIONID=18987B44B98FFD859829778F3EF83BFD.fitbit1; Path=/; HttpOnly
- < Content-Language: en
- < Vary: Accept-Encoding
- < X-Frame-Options: SAMEORIGIN
- < CF-RAY: 23a00a5e677402da-AMS
- <
- { [419 bytes data]
- 100 412 0 412 0 0 699 0 --:--:-- --:--:-- --:--:-- 698
- * Connection #0 to host api.fitbit.com left intact
- {"activities-heart":[{"dateTime":"2015-10-23","value":{"customHeartRateZones":[],"heartRateZones":[{"caloriesOut":1721.12835,"max":95,"min":30,"minutes":940,"name":"Out of Range"},{"caloriesOut":453.00705,"max":133,"min":95,"minutes":64,"name":"Fat Burn"},{"caloriesOut":0,"max":161,"min":133,"minutes":0,"name":"Cardio"},{"caloriesOut":0,"max":220,"min":161,"minutes":0,"name":"Peak"}],"restingHeartRate":64}}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement