Spring Boot Practice Test

Spring Boot Building RESTful Services Questions and Answers

Free · Instant Results

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?
▶ Start Practice Test