Skip to content

A RESTful web service for a merchant to post and retrieve offers for sale

Notifications You must be signed in to change notification settings

notthebees/rest-offer-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rest-offer-service

A RESTful web service for a merchant to post and retrieve offers for sale. Each offer has a description and a price.

Available endpoints:

  • 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.

About

A RESTful web service for a merchant to post and retrieve offers for sale

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages