Created
August 29, 2018 09:18
-
-
Save gggwt/369c781bafad30cf284861eb43f28280 to your computer and use it in GitHub Desktop.
Transaction to https://ami-server-staging.herokuapp.com/api/people/login
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
POST /api/people/login HTTP/1.1 | |
Host: ami-server-staging.herokuapp.com | |
Content-Type: application/json | |
Connection: keep-alive | |
Accept: */* | |
User-Agent: AMI Beta/1.0.0 (com.iLabs.AMI-beta; build:20180829011132; iOS 11.2.5) Alamofire/4.7.2 | |
Accept-Language: zh-Hans-US;q=1.0, en-US;q=0.9 | |
Content-Length: 41 | |
Accept-Encoding: gzip;q=1.0, compress;q=0.5 | |
{"password":"123456","email":"t1@qq.com"} |
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
HTTP/1.1 200 OK | |
Server: Cowboy | |
Vary: Origin | |
Content-Type: application/json; charset=utf-8 | |
Content-Length: 1932 | |
Date: Wed, 29 Aug 2018 09:17:37 GMT | |
Via: 1.1 vegur | |
Connection: Keep-alive | |
{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTE2LCJpYXQiOjE1MzU1MzQyNTd9.9Pk-PDm6wp9or1UK3iCCTX0SGqFZ50Wsc3Z2bHBCSj0","person":{"full_name":"t1 1t","phone":"159.509.9877","id":116,"first_name":"t1","last_name":"1t","email":"t1@qq.com","role":1,"photos_on_device":0,"created_at":"2018-08-29T08:58:09.583Z","family_member":{"id":123,"status":"joined","homefolder_id":3500,"family_id":23,"family":{"id":23,"name":"T家族","organizer_id":115,"tier":"1","members":[{"id":122,"status":"joined","person":{"full_name":"T TT","phone":"159.509.9877","id":115,"first_name":"T","last_name":"TT","email":"t@qq.com","role":1,"photos_on_device":0,"created_at":"2018-08-29T08:56:51.972Z","avatar":{"oss_name":"person.avatar/115-avatar.png","oss_url":"https://ami-hk-public.oss-cn-hongkong.aliyuncs.com/person.avatar/115-avatar.png","id":384,"attachable":"person.avatar","attachable_id":115,"name":"avatar.png","created_at":"2018-08-29T09:08:35.907Z"},"faces_count":0,"photos_count":0}},{"id":123,"status":"joined","person":{"full_name":"t1 1t","phone":"159.509.9877","id":116,"first_name":"t1","last_name":"1t","email":"t1@qq.com","role":1,"photos_on_device":0,"created_at":"2018-08-29T08:58:09.583Z","faces_count":0,"photos_count":0}},{"id":124,"status":"joined","person":{"full_name":"t2 2t","phone":"159.509.9999","id":117,"first_name":"t2","last_name":"2t","email":"t2@qq.com","role":1,"photos_on_device":0,"created_at":"2018-08-29T09:01:21.261Z","faces_count":0,"photos_count":0}},{"id":125,"status":"joined","person":{"full_name":"t3 3t","phone":"159.509.9877","id":118,"first_name":"t3","last_name":"3t","email":"t3@qq.com","role":1,"photos_on_device":0,"created_at":"2018-08-29T09:13:52.566Z","faces_count":0,"photos_count":0}}]},"homefolder":{"id":3500,"pcloud_id":"2120863430","name":"member.t1 1t","code":null,"folder_id":3498,"family_id":23,"created_at":"2018-08-29T09:05:45.642Z","updated_at":"2018-08-29T09:05:45.642Z"}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment