...

/

API Model for Comment Service

API Model for Comment Service

Design the API model for a comment service.

In this lesson, we will focus on the API design for a comment service that directs the request and response between clients and servers. We’ll also discuss different API calls using HTTP methods that fulfill our functional requirements, which we discussed in the Requirements of the Comment API lesson. Furthermore, as discussed in the previous lesson, we will adopt the REST API style for the communication between a client and an API gateway. Let's start with the base URL of our API

Base URL and API endpoints

We can consider the following base URL for the comment service, which we will use in the following sections.

Access this course and 1400+ top-rated courses and projects.