In certain circumstances, a microservice may have only one endpoint, but in others, there may be multiple endpoints. Take, for example, a sensor data service that collects sensor data and has two logical endpoints: create and read.