GET /users?order=name
GET /users?fields=level
HTTP/1.1 200 OK
{
"level": 10
}
# id, name 만 반환
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak"
}
# `level` 제외 모두 반환
http HTTP/1.1 200 OK
{ "id": 1, "name": "hak", "createdAt": "2018-07-04 14:00:00" }
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak",
"level" 10,
"createdAt": "2018-07-04 14:00:00"
}
HTTP/1.1 200 OK
{
"name": "hak"
}
GET /users?order=name
GET /users?fields=level
HTTP/1.1 200 OK
{
"level": 10
}
# id, name 만 반환
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak"
}
# `level` 제외 모두 반환
http HTTP/1.1 200 OK
{ "id": 1, "name": "hak", "createdAt": "2018-07-04 14:00:00" }
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak",
"level" 10,
"createdAt": "2018-07-04 14:00:00"
}
HTTP/1.1 200 OK
{
"name": "hak"
}
GET /users?order=name
GET /users?fields=level
HTTP/1.1 200 OK
{
"level": 10
}
# id, name 만 반환
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak"
}
# `level` 제외 모두 반환
http HTTP/1.1 200 OK
{ "id": 1, "name": "hak", "createdAt": "2018-07-04 14:00:00" }
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak",
"level" 10,
"createdAt": "2018-07-04 14:00:00"
}
HTTP/1.1 200 OK
{
"name": "hak"
}
GET /users?order=name
GET /users?fields=level
HTTP/1.1 200 OK
{
"level": 10
}
# id, name 만 반환
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak"
}
# `level` 제외 모두 반환
http HTTP/1.1 200 OK
{ "id": 1, "name": "hak", "createdAt": "2018-07-04 14:00:00" }
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak",
"level" 10,
"createdAt": "2018-07-04 14:00:00"
}
HTTP/1.1 200 OK
{
"name": "hak"
}
GET /users?order=name
GET /users?fields=level
HTTP/1.1 200 OK
{
"level": 10
}
# id, name 만 반환
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak"
}
# `level` 제외 모두 반환
http HTTP/1.1 200 OK
{ "id": 1, "name": "hak", "createdAt": "2018-07-04 14:00:00" }
HTTP/1.1 200 OK
{
"id": 1,
"name": "hak",
"level" 10,
"createdAt": "2018-07-04 14:00:00"
}
HTTP/1.1 200 OK
{
"name": "hak"
}