YAGNI

Handle requests for a non-existent resource using Java Optional in a REST controller

When an API is asked for a resource that can't be found, it is expected to return the HTTP 404…

6 years ago