API Model for Search Service
Learn the request and response structure of a search query.
In this lesson, we model the search API to meet the functional requirements we identified in the first lesson. We also focus on essential data entities to be exchanged in the request and response while targeting various endpoints.
Let's start the discussion by defining the base URL for our search API.
Base URL and API endpoints
The base URL can be defined as the common prefix for all the endpoints of API. We defined the following base URL for the search API:
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy