Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gggwt/e89b3c47a503dd6e751d7f7643ecd19f to your computer and use it in GitHub Desktop.
Save gggwt/e89b3c47a503dd6e751d7f7643ecd19f to your computer and use it in GitHub Desktop.
GET /api/photos?by=month&direction=desc&scope=family&value=201808 HTTP/1.1
Host: ami-server-staging.herokuapp.com
Connection: keep-alive
Accept: */*
User-Agent: AMI Beta/1.0.0 (com.iLabs.AMI-beta; build:20180827205738; iOS 11.2.5) Alamofire/4.7.2
Accept-Language: zh-Hans-US;q=1.0, en-US;q=0.9
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6OTksImlhdCI6MTUzNTQ0NDc1OX0.YD2mG8IORBRRi9WtZrDT9QmUyTZEtRb4dKG2Be6POyQ
Accept-Encoding: gzip;q=1.0, compress;q=0.5
HTTP/1.1 500 Internal Server Error
Server: Cowboy
Vary: Origin
Content-Type: application/json; charset=utf-8
Content-Length: 274
Date: Tue, 28 Aug 2018 10:33:14 GMT
Via: 1.1 vegur
Connection: Keep-alive
{"message":"child \"photos\" fails because [\"photos\" at position 0 fails because [child \"albums\" fails because [\"albums\" at position 0 fails because [child \"person_id\" fails because [\"person_id\" must be a number]]]]]","messages":["\"person_id\" must be a number"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment