Validate

In this short Spring Boot tutorial, I am going to show you how to use @Validated and @Email annotations to validate email address sent to a RESTful Web Service in HTTP GET Request. If you are looking for an example of how to validate email address sent in the HTTP POST request, please have a…

Read More Spring Boot – Validate Email in @RequestParam

In this tutorial, you will learn how to validate the request body of an HTTP Post request sent to a RESTful Web Service endpoint built with Spring Boot. Request Body JSON Let’s say you have a RESTful Web Service endpoint that accepts HTTP post requests with the following JSON payload: { “firstName”: “Sergey”, “lastName”: “Kargopolov”,…

Read More Validate Request Body in RESTful Web Service