REST

Given a service that lists sandwiches, what action would we perform to get all of the sandwiches?
POST /sandwich
GET /allsandwiches
GET /sandwiches
Given the same service of sandwiches, what would the action look like if we specifically wanted a BLT?
GET /blt
GET /sandwiches/blt
PUT /blt
Given a service that returns information about cars, including the various drivers of each car, what might the URI look like for getting the second driver of the third car?
/cars/1/drivers/2
/cars3drivers2
/cars/2/drivers/3
/cars/3/drivers/2
Given the same service, what might the URL look like for getting all of the drivers of the fifth car?
/cars/1/driversall
/cars5/drivers
/cars/5/drivers
/cars/5/alldrivers
What HTTP verb is typically used to create something new?
PUT
POST
GET
DELETE
What HTTP verb is typically used to update something?
PUT
POST
GET
DELETE
What HTTP verb is typically used to delete something?
PUT
POST
GET
DELETE
0
{"name":"REST", "url":"https://www.quiz-maker.com/Q0GT5OG","txt":"Given a service that lists sandwiches, what action would we perform to get all of the sandwiches?, Given the same service of sandwiches, what would the action look like if we specifically wanted a BLT?, Given a service that returns information about cars, including the various drivers of each car, what might the URI look like for getting the second driver of the third car?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker