Skip to content

Instantly share code, notes, and snippets.

@hayduke19us
Created January 7, 2015 20:31
Show Gist options
  • Save hayduke19us/a1b2122ea8cea22ab4f7 to your computer and use it in GitHub Desktop.
Save hayduke19us/a1b2122ea8cea22ab4f7 to your computer and use it in GitHub Desktop.
POST /api/v1/scouts/sign_in HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Content-Length: 0
Host: staging.fieldjournal.io
User-Agent: HTTPie/0.8.0
email: [email protected]
password: rainflood
HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Connection: close
Content-Type: application/json; charset=utf-8
Date: Wed, 07 Jan 2015 20:27:43 GMT
Etag: "4deeda354887d6747734dc8af33f60db"
Server: Cowboy
Set-Cookie: _field_journal_session=K3JRQzV2M05Vb0h2UklVUS9JNFVaQ3JQeXdNZXB4bm5iYzVua1VnYlVuN2JRZjhqVUpvYUluZ0RTL2FEdTk1L2NPbjJWeUxjaEFXTDZlandUaVFLS205U0pjYzJnKy9lUWIwcmlMNk85aVJjZVJOa0FXcHNVbVM5ZzFvSTNiUTlrTjM1TWtMSGlONHhuYTZIaW5jbm4zcTllaUFKaHlVWFN5RzFkUWJObFpnPS0tRER6SG1qdk00RGk2OHAvODhQOGl3dz09--a20d153408b94063b9167cf9a89669d8abfa5f61; path=/; HttpOnly
Status: 200 OK
Via: 1.1 vegur
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: dec35f49-012d-44c3-95e1-3f8ee49a1c5d
X-Runtime: 0.327663
X-Xss-Protection: 1; mode=block
{
"message": "Scout has signed in",
"success": true,
"token": "678a38e8f92ba63914201e30b9314c67"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment