- Go to swagger and enter the root url (https://01g4o5ol6l.execute-api.us-west-2.amazonaws.com/people)
- Select Post and in the body add something formatted like this
{ "id": "d0cf9e12-cba0-4651-88e4-9sgradgzceb9", "name": "test name999", "phone": "222-222-2999"}
. - Click send and the response should show the data in the window below.
- Go to swagger and enter the root url (https://01g4o5ol6l.execute-api.us-west-2.amazonaws.com/people)
- Select Get and click send. You should see all the items in the database below.
- Highlight an ID and copy it for the next step
- Go to swagger and enter the root url (https://01g4o5ol6l.execute-api.us-west-2.amazonaws.com/people)
- In the URL, add
?id=
plus the ID you just copied. - In the body, add the same formatted data as above along with the same ID you pasted into the URL, but change some data. This will be the new item info.
- Select Put and click send. You should see all the items in the database below.
- Go to swagger and enter the root url (https://01g4o5ol6l.execute-api.us-west-2.amazonaws.com/people)
- IN the URL, add
?id=
plus the ID you just copied. - Select Delete and click send. You should see
contact successfully deleted
.