Closed MyeongKim closed 8 years ago
add /v1/ to the first part of all REST API address.
8ebdebc0d1b3d733634821166c629ff2daa3b3f5
use error response instead of 200 response
example
HTTP Status Code : 401 {“status”:”401”,”message”:”Authenticate”,”code”:200003,”more info”:”http://www.twillo.com/docs/errors/20003"}
pagination
example
Facebook API : /record?offset=100&limit=25 ( 100~125)
Partial Response
example
Facebook : /terry/friends?fields=id,name
4ce4afcdd7f079c3b150fecdd7566131607e73f0
status code applied
fc3664a2a2a10b74cf13722f172f99ba49cbe576
API url modified
reference : https://spoqa.github.io/2012/02/27/rest-introduction.html