API Documentation

Path HTTP Type Description Request Body Querystring Example
/data/guestbook GET Gets all entries in the guestbook N/A N/A /api/guestbook
/data/guestbook GET Gets a specific entry in the guestbook N/A id=[entry ID] /api/guestbook?id=1
/data/last-request GET Gets the last request sent to the server N/A N/A /api/last-request
/data/guestbook/new POST Submits a new entry to the server name, message N/A /api/guestbook/new
(requires code to attach a body)
/data/delete/:id DELETE Deletes a specific entry from the server N/A N/A /api/guestbook/0