Last active
November 27, 2017 18:17
-
-
Save samflores/0499029e363e6ab7e1825565a2ba1ca2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> http post https://smartnexpoc.herokuapp.com/auth/sign_in [email protected] password=123123 | |
HTTP/1.1 200 OK | |
Access-Token: jqycD82k1smHlgFbitUCyQ | |
Cache-Control: max-age=0, private, must-revalidate | |
Client: mnVR6qnMRhCvgw2NnaKFHg | |
Connection: keep-alive | |
Content-Type: application/json; charset=utf-8 | |
Date: Mon, 27 Nov 2017 18:14:27 GMT | |
Etag: W/"ef20f595211824df6fdc677c91cf6b21" | |
Expiry: 1543342467 | |
Server: Cowboy | |
Token-Type: Bearer | |
Transfer-Encoding: chunked | |
Uid: [email protected] | |
Via: 1.1 vegur | |
X-Request-Id: 629f4b0d-b5ec-4c17-92e2-317d3fc03d68 | |
X-Runtime: 0.439749 | |
{ | |
"data": { | |
"email": "[email protected]", | |
"id": 1, | |
"image": null, | |
"name": "Samuel Flores", | |
"nickname": null, | |
"provider": "email", | |
"uid": "[email protected]" | |
} | |
} | |
> http GET https://smartnexpoc.herokuapp.com/initial_state uid:[email protected] client:mnVR6qnMRhCvgw2NnaKFHg access-token:jqycD82k1smHlgFbitUCyQ | |
HTTP/1.1 200 OK | |
Access-Token: 7Bo70mjSEj35yvujR31AKg | |
Cache-Control: max-age=0, private, must-revalidate | |
Client: mnVR6qnMRhCvgw2NnaKFHg | |
Connection: keep-alive | |
Content-Type: application/json; charset=utf-8 | |
Date: Mon, 27 Nov 2017 18:15:12 GMT | |
Etag: W/"4ffb30909221a1ca103e752b05e43efc" | |
Expiry: 1543342512 | |
Server: Cowboy | |
Token-Type: Bearer | |
Transfer-Encoding: chunked | |
Uid: [email protected] | |
Via: 1.1 vegur | |
X-Request-Id: 44ebcff0-fb81-4752-9bc9-620cc38a8f6d | |
X-Runtime: 0.180938 | |
{ | |
"houses": [], | |
"user": { | |
"email": "[email protected]", | |
"name": "Samuel Flores", | |
"nickname": null | |
} | |
} | |
> http GET https://smartnexpoc.herokuapp.com/initial_state uid:[email protected] client:mnVR6qnMRhCvgw2NnaKFHg access-token:7Bo70mjSEj35yvujR31AKg | |
HTTP/1.1 200 OK | |
Access-Token: 0dVxPF9YqFfmjvEmvExU1A | |
Cache-Control: max-age=0, private, must-revalidate | |
Client: mnVR6qnMRhCvgw2NnaKFHg | |
Connection: keep-alive | |
Content-Type: application/json; charset=utf-8 | |
Date: Mon, 27 Nov 2017 18:17:14 GMT | |
Etag: W/"4ffb30909221a1ca103e752b05e43efc" | |
Expiry: 1543342635 | |
Server: Cowboy | |
Token-Type: Bearer | |
Transfer-Encoding: chunked | |
Uid: [email protected] | |
Via: 1.1 vegur | |
X-Request-Id: 61775fa1-6d1d-4a15-90be-176fea9e6e2d | |
X-Runtime: 0.380638 | |
{ | |
"houses": [], | |
"user": { | |
"email": "[email protected]", | |
"name": "Samuel Flores", | |
"nickname": null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment