Skip to content

Instantly share code, notes, and snippets.

@lynndylanhurley
Last active March 15, 2016 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lynndylanhurley/6188207525b8fcbcddcd to your computer and use it in GitHub Desktop.
Save lynndylanhurley/6188207525b8fcbcddcd to your computer and use it in GitHub Desktop.
03-15 19:05:27.152 3573 3620 D Retrofit: ---> HTTP POST https://api.particle.io/oauth/token
03-15 19:05:27.152 3573 3620 D Retrofit: Authorization: Basic {{ TOKEN }}
03-15 19:05:27.152 3573 3620 D Retrofit: Content-Type: application/x-www-form-urlencoded; charset=UTF-8
03-15 19:05:27.152 3573 3620 D Retrofit: Content-Length: 77
03-15 19:05:27.152 3573 3620 D Retrofit: grant_type=password&username={{ EMAIL }}&password={{ PASSWORD }}
03-15 19:05:27.152 3573 3620 D Retrofit: ---> END HTTP (77-byte body)
03-15 19:05:27.777 3573 3620 D Retrofit: <--- HTTP 200 https://api.particle.io/oauth/token (624ms)
03-15 19:05:27.777 3573 3620 D Retrofit: Server: nginx
03-15 19:05:27.777 3573 3620 D Retrofit: Date: Tue, 15 Mar 2016 23:05:27 GMT
03-15 19:05:27.777 3573 3620 D Retrofit: Content-Type: application/json; charset=utf-8
03-15 19:05:27.777 3573 3620 D Retrofit: Content-Length: 178
03-15 19:05:27.777 3573 3620 D Retrofit: Connection: keep-alive
03-15 19:05:27.777 3573 3620 D Retrofit: Access-Control-Allow-Origin: *
03-15 19:05:27.777 3573 3620 D Retrofit: Cache-Control: no-store
03-15 19:05:27.777 3573 3620 D Retrofit: Pragma: no-cache
03-15 19:05:27.777 3573 3620 D Retrofit: X-Content-Type-Options: nosniff
03-15 19:05:27.777 3573 3620 D Retrofit: OkHttp-Selected-Protocol: http/1.1
03-15 19:05:27.777 3573 3620 D Retrofit: OkHttp-Sent-Millis: 1458083127425
03-15 19:05:27.777 3573 3620 D Retrofit: OkHttp-Received-Millis: 1458083127777
03-15 19:05:27.777 3573 3620 D Retrofit: {
03-15 19:05:27.777 3573 3620 D Retrofit: "token_type": "bearer",
03-15 19:05:27.777 3573 3620 D Retrofit: "access_token": "{{ ACCESS TOKEN }}",
03-15 19:05:27.777 3573 3620 D Retrofit: "expires_in": 7776000,
03-15 19:05:27.777 3573 3620 D Retrofit: "refresh_token": "{{ REFRESH TOKEN }}"
03-15 19:05:27.777 3573 3620 D Retrofit: }
03-15 19:05:27.777 3573 3620 D Retrofit: <--- END HTTP (178-byte body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment