Skip to content
akire edited this page Feb 4, 2012 · 4 revisions

Documentation

Server address

http://groceries-server.herokuapp.com

Supported REST requests

  • POST /list - Creates new list and returns the new listId
  • POST /list/<listId> - Adds item in message entity to list
  • DELETE /list/<listId> - Removes all items on list
  • GET /list/<listId>- Returns all items on the list as a json object
  • DELETE /list/<listId>/<itemToRemove> - Removes itemToRemove from list

Example response

{
   "items":[
      "bread",
      "milk",
      "lollies"
   ]
}
Clone this wiki locally