Merge branch 'master' of github.com:mevdschee/php-crud-api

This commit is contained in:
Maurits van der Schee 2021-01-27 19:08:02 +01:00
commit 9f988e81d2
11 changed files with 65 additions and 37 deletions

View file

@ -6,3 +6,11 @@ Content-Type: application/json; charset=utf-8
Content-Length: 58
{"id":2,"user_id":1,"category_id":2,"content":"It works!"}
===
GET /records/posts/0
===
404
Content-Type: application/json; charset=utf-8
Content-Length: 46
{"code":1003,"message":"Record '0' not found"}