Spring Boot REST API Request Validation Examples

Published: 27 August 2022
on channel: Coding with Nam
10,422
228

In this Spring Boot REST API video, I'd like to share with you guys, how to validate request body of existing REST APIs with Java Bean Validation & Hibernate Validator in a Spring Boot project, with code examples.

In details, you’ll learn:
What are Java Bean Validation & Hibernate Validator
How to Use annotations like @NotBlank, @Length, @Email, @NotNull, @Length, @Past, @Future…
How to customize response error message with custom exception handler

Technologies: Spring Boot, Spring Data JPA, Spring Web, H2 in-memory database, Spring Validation.
Software Programs: Java Development Kit (JDK), Spring Tool Suite IDE, curl & Postman.

To get code Spring REST API validation code examples, check the written article at https://www.codejava.net/frameworks/s...

Spring Boot REST APIs Ultimate Course: https://www.udemy.com/course/spring-b... - Hands-on REST API Development with Spring Boot: Design, Implement, Document, Secure, Test, Consume RESTful APIs.

#restapis #springboot #validation #java


On this page of the site you can watch the video online Spring Boot REST API Request Validation Examples with a duration of hours minute second in good quality, which was uploaded by the user Coding with Nam 27 August 2022, share the link with friends and acquaintances, this video has already been watched 10,422 times on youtube and it was liked by 228 viewers. Enjoy your viewing!