=== POST /records/posts Content-Type: application/json; charset=utf-8 {"category_id":1,"content":"test"} === 409 Content-Type: application/json; charset=utf-8 Content-Length: 50 {"code":1010,"message":"Data integrity violation"}
info at phpclasses dot org