PHP Classes

File: tests/functional/001_records/090_add_multiple_comments.log

Recommend this page to a friend!
  Classes of Punto Waskito   PHP CRUD API   tests/functional/001_records/090_add_multiple_comments.log   Download  
File: tests/functional/001_records/090_add_multiple_comments.log
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP CRUD API
Provide API to manipulate database table records
Author: By
Last change:
Date: 3 years ago
Size: 871 bytes
 

Contents

Class file image Download
=== POST /records/comments [{"user_id":1,"post_id":6,"message":"multi 1","category_id":3},{"user_id":1,"post_id":6,"message":"multi 2","category_id":3}] === 200 Content-Type: application/json; charset=utf-8 Content-Length: 5 [7,8] === GET /records/comments?include=id&filter=post_id,eq,6 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 31 {"records":[{"id":7},{"id":8}]} === POST /records/comments [{"user_id":1,"post_id":6,"message":"multi 3","category_id":3},{"user_id":1,"post_id":0,"message":"multi 4","category_id":3}] === 424 Content-Type: application/json; charset=utf-8 Content-Length: 83 [{"code":0,"message":"Success"},{"code":1010,"message":"Data integrity violation"}] === GET /records/comments?include=id&filter=post_id,eq,6 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 31 {"records":[{"id":7},{"id":8}]}