Practice Test Geeks home

Spring Boot Building RESTful Services Questions and Answers

A developer needs to create a REST endpoint that returns a `201 Created` status code upon successful creation of a resource, and a response body containing the newly created object.
Which approach is most appropriate for this scenario in a Spring Boot controller?

Select your answer