Created
November 17, 2016 09:01
-
-
Save z-turk3/d9dc3e87aeea2d4bf0f0f86e025d1a51 to your computer and use it in GitHub Desktop.
This file contains 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
REQUEST: https://perioddiary-api.nanobitgames.com/api/v2/sign_in/oauth | |
$ curl -i \ | |
-X POST \ | |
-H "X-USER-AGENT: Simulator;iOS 9.3;1.0" \ | |
-H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" \ | |
-H "Accept-Language: hr-SA;q=1.0,en-SA;q=0.9,ar-SA;q=0.8,ja-SA;q=0.7" \ | |
-H "Accept-Encoding: gzip;q=1.0,compress;q=0.5" \ | |
-H "User-Agent: Period Diary Pro/co.infinum.Period-Diary (61; OS Verzija 9.3 (Izdanje 13E230))" \ | |
-d "device_id=f16Qa1U8IP1YKMK64O4W&lang=hr&oauth_token=EAADKhq883QMBAObKVPTnoz77EHu8vl6eL5O1LgDjpR18pcsPljW4nF2gQypNbZAzkFWr9Cii914F7vPUqmcrgS9OmHSxwPDl23ZBd2kh7sCYzZATxaMblrXq8LSOpFHRfqzObDvECwOwIZAWwpzQGZCWDw0npkidEkCAfFRlCEeLXoXVeIxlT26LZCamIHBWEZD" \ | |
"https://perioddiary-api.nanobitgames.com/api/v2/sign_in/oauth" | |
▿ Optional<NSHTTPURLResponse> | |
- Some : <NSHTTPURLResponse: 0x7fda97398330> { URL: https://perioddiary-api.nanobitgames.com/api/v2/sign_in/oauth } | |
{ status code: 400, headers { | |
"Cache-Control" = "no-cache"; | |
Connection = "keep-alive"; | |
"Content-Length" = 87; | |
"Content-Type" = "application/json; charset=utf-8"; | |
"Current-Server-Timestamp" = 1479372703; | |
Date = "Thu, 17 Nov 2016 08:51:43 GMT"; | |
Server = "nginx/1.8.1 + Phusion Passenger 4.0.60"; | |
Status = "400 Bad Request"; | |
"X-Content-Type-Options" = nosniff; | |
"X-Frame-Options" = SAMEORIGIN; | |
"X-Powered-By" = "Phusion Passenger 4.0.60"; | |
"X-Request-Id" = "501c1fb2-00d8-4d9a-9db0-6c45e3fb0cee"; | |
"X-Runtime" = "0.094839"; | |
"X-XSS-Protection" = "1; mode=block"; | |
} } | |
▿ 2 elements | |
▿ [0] : 2 elements | |
- .0 : "error_description" | |
- .1 : E-mail ili lozinka su neispravni! | |
▿ [1] : 2 elements | |
- .0 : "error" | |
- .1 : invalid_credentials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment