Skip to content

Instantly share code, notes, and snippets.

@lynndylanhurley
Last active Mar 15, 2016
Embed
What would you like to do?
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