Mark As Completed Discussion

Build your intuition. Fill in the missing part by typing it in.

When implementing microservices with Java and Spring Boot, we can use the @_____________ annotation to define a RESTful API endpoint.

This annotation maps an HTTP request to a method in a Spring Boot controller, allowing us to handle various HTTP methods such as GET, POST, PUT, and DELETE.

By providing the appropriate @_____________ annotation, we can define the URL path for the API endpoint and specify any additional parameters such as query parameters or request headers.

The @_____________ annotation is also used to handle request payloads, such as JSON or form data, by mapping the request data to Java objects.

Overall, the @_____________ annotation plays a crucial role in implementing microservices with Java and Spring Boot, providing a simple and intuitive way to define and handle RESTful API endpoints.

Write the missing line below.