Author: Katy Roffe
API Link: url
Create a single resource REST API using a domain model of your choosing, constructed using AWS Cloud Services
- POST
- /people
- inserts a record into the database
- requires a body with a name and age
- returns a JSON
- /people
- GET
- /people
- returns all objects in the database
- /people/ID
- requires an assigned id
- returns a single object
- /people
- PUT
- /people/##
- updates a record in the database by its id
- requires id
- returns a success message / empty object
- /people/##
- DELETE
- /people/##
- removes the matching record from the database
- requires id
- returns success message / empty object
- /people/##