PHP Classes

File: tests/functional/001_records/088_read_and_write_multiple_posts_as_xml.log

Recommend this page to a friend!
  Classes of Punto Waskito   PHP CRUD API   tests/functional/001_records/088_read_and_write_multiple_posts_as_xml.log   Download  
File: tests/functional/001_records/088_read_and_write_multiple_posts_as_xml.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: 1,097 bytes
 

Contents

Class file image Download
=== GET /records/posts/1,2 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 259 [{"id":1,"user_id":1,"category_id":1,"content":"blog started"},{"id":2,"user_id":1,"category_id":2,"content":"?? Grüßgott, ?i???, dobrż de?, hyvää päivää, ?????????, ???? ???, góšan dag, ????????????"}] === GET /records/posts/1,2?format=xml === 200 Content-Type: text/xml; charset=utf-8 Content-Length: 364 <root type="array"><item><id>1</id><user_id>1</user_id><category_id>1</category_id><content>blog started</content></item><item><id>2</id><user_id>1</user_id><category_id>2</category_id><content>?? Grüßgott, ?i???, dobrż de?, hyvää päivää, ?????????, ???? ???, góšan dag, ????????????</content></item></root> === PUT /records/posts/1,2?format=xml <object type="array"><object><user_id>1</user_id></object><object><user_id>2</user_id></object></object> === 200 Content-Type: text/xml; charset=utf-8 Content-Length: 54 <root type="array"><item>1</item><item>1</item></root>