added static php-crud-api
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
===
|
||||
GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
|
||||
X-Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImlhdCI6IjE1MzgyMDc2MDUiLCJleHAiOjE1MzgyMDc2MzV9.Z5px_GT15TRKhJCTHhDt5Z6K6LRDSFnLj8U5ok9l7gw
|
||||
===
|
||||
200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 45
|
||||
|
||||
{"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
|
||||
@@ -11,7 +10,7 @@ Content-Length: 45
|
||||
GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
|
||||
===
|
||||
200
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 45
|
||||
|
||||
{"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
|
||||
@@ -20,7 +19,7 @@ GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
|
||||
X-Authorization: Bearer invalid
|
||||
===
|
||||
403
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 57
|
||||
|
||||
{"code":1012,"message":"Authentication failed for 'JWT'"}
|
||||
@@ -28,7 +27,7 @@ Content-Length: 57
|
||||
GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
|
||||
===
|
||||
404
|
||||
Content-Type: application/json; charset=utf-8
|
||||
Content-Type: application/json
|
||||
Content-Length: 54
|
||||
|
||||
{"code":1001,"message":"Table 'invisibles' not found"}
|
||||
|
||||
Reference in New Issue
Block a user