Skip to content

Instantly share code, notes, and snippets.

@dpogorzelski
Last active August 29, 2015 13:56
Show Gist options
  • Save dpogorzelski/8937241 to your computer and use it in GitHub Desktop.
Save dpogorzelski/8937241 to your computer and use it in GitHub Desktop.
{
"_id" : ObjectId("52fa44d6a0dfdb9c210254d4"),
"created" : ISODate("2014-02-11T15:42:14.953Z"),
"res" : {
"headers" : {
"content-length" : "22",
"content-type" : "text/html; charset=utf-8",
"x-powered-by" : "Express"
},
"body" : "Wrong user or password",
"statusCode" : 401
},
"req" : {
"headers" : {
"accept-language" : "it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4,pl;q=0.2",
"accept-encoding" : "gzip,deflate,sdch",
"referer" : "http://127.0.0.1:3000/",
"dnt" : "1",
"content-type" : "application/json;charset=UTF-8",
"user-agent" : "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36",
"origin" : "http://127.0.0.1:3000",
"accept" : "application/json, text/plain, */*",
"pragma" : "no-cache",
"cache-control" : "no-cache",
"content-length" : "39",
"connection" : "keep-alive",
"host" : "127.0.0.1:3000"
},
"body" : {
"password" : "asdsad",
"email" : "asd@asd"
},
"params" : [],
"url" : "/api/signin",
"method" : "POST"
},
"__v" : 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment