Skip to content

Instantly share code, notes, and snippets.

@GlebMaltsev
Created January 25, 2017 11:07
Show Gist options
  • Save GlebMaltsev/19a2d742f297053c40db0bb71dff7e26 to your computer and use it in GitHub Desktop.
Save GlebMaltsev/19a2d742f297053c40db0bb71dff7e26 to your computer and use it in GitHub Desktop.
POST http://spritzr2-qa.herokuapp.com/api/v1.0/account/ HTTP/1.1
Content-Type: application/json; charset=UTF-8
Content-Length: 407
Host: spritzr2-qa.herokuapp.com
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/2.7.2
{
"access_token":"EAAKU09zVruYBANqnZC1ZAprlmQqm4uqEEoCqh72vdZCBuKJgT7eum2nJSso5KYlaR15ENFt6zW3uhGX9N51E0s4ewjAqqkOR23Lphds7HpXcwEpAteitzntw2l6NibRvx6ti4QsWr60GlrCtBmJ618sKhekpQZBwWXERvmMxdOQjgcg2DwZC5L57GAIOwonfC2RChpZCgd68xNlnsiLry5",
"device_os":"Android",
"device_type":"Phone",
"facebook_id":"text_bad_id_string",
"language":"ru_RU","os_version":"4.4.2",
"timezone":"+0300",
"username":"test_bad_email_string"
}
HTTP/1.1 401 Unauthorized
Connection: keep-alive
Server: gunicorn/0.17.2
Date: Wed, 25 Jan 2017 10:57:19 GMT
Transfer-Encoding: chunked
Content-Type: application/json
Via: 1.1 vegur
48
{"status": 401, "err_msg": "Access token and facebook ID do not match."}
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment