DRAG DROP
You need to configure the server to self-host the bookstore’s Web API application. You have the following code:
Which code segments should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate code segments to the correct location in the answer area. Each segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:
The testlet is missing, but it should be
routeTemplate:”{controller}/{id}”,
Based on the following of the testlet:
The RESTful API of the bookstore must expose the following endpoint.
Action: Get a list of all books
HTTP method: GET
Relative URI: /books
Notice how the Relative URI does not state the /api part.