Simple GuestBook API (json and xml)

JSON Request examples

GET http/gb.debos.net/api/guests/.json get query all items
GET http/gb.debos.net/api/guests/ID.json get item with id = ID
POST http/gb.debos.net/api/guests/.json { "email": "tra@exa.com",
"name": "any name1" }
create new item
PUT http/gb.debos.net/api/guests/ID.json { "id":ID,
"email": "tra@exa.com",
"name": "any name1" }
update item with id = ID
DELETE http/gb.debos.net/api/guests/ID.json delete item with id = ID

For XML-request change .json suffix to .xml
Also change Content-Type from application/json to application/xml

GuestBook

ID Name
{{ guest.id }} {{ guest.name }}