A RESTful web service for a merchant to post and retrieve offers for sale. Each offer has a description and a price.
- Retrieve offer with specified
id
:GET offers/id
- Retrieve list of all offers:
GET offers
- Create new offer:
POST offers
- Delete offer with specified
id
:DELETE offers/id
Accepts JSON content of form
{"description": $DESCRIPTION, "price": $PRICE}
where DESCRIPTION
is text and PRICE
is a decimal.