Don't have Telegram yet? Try it now!
https://keepgrowing.in/java/springboot/handle-requests-for-a-non-existent-resource-using-java-optional-in-a-rest-controller/
Handle requests for a non-existent resource using Java Optional in a REST controller