===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#1"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 1
5
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#2"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 1
6
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#3"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 1
7
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#4"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 1
8
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#5"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 1
9
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#6"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 2
10
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#7"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 2
11
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#8"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 2
12
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#9"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 2
13
===
POST /records/posts
{"user_id":1,"category_id":1,"content":"#10"}
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 2
14
===
GET /records/posts?page=2,2&order=id
===
200
Content-Type: application/json; charset=utf-8
Content-Length: 130
{"records":[{"id":5,"user_id":1,"category_id":1,"content":"#1"},{"id":6,"user_id":1,"category_id":1,"content":"#2"}],"results":12}
|