28. Validating REST API request body | Spring Boot Expert Tutorial | Code Simple

preview_player
Показать описание
Hello All, Here we are going to see how to validate the API request before processing it. We will create a new package for validation and send the list of errors, if any.

Validation is important for any of the API. When we validation properly, we will solve most of the Run time exceptions in our applications.

Git:

#springboot #codesimple #validation #API #request #body #tamil
Рекомендации по теме
Комментарии
Автор

how to use validation in entity ? bro

BEC-VISHNURAMT
Автор

Question:
Entity 1 - Mysql(Table) -employee_t
Entity 2 - Mysql(view) - department_v
I want to access view bypassing (table id to view) to get some fields and populate in table get services.
services like;
{
1 data from table
1 data from table
2 data from view
2 data from view
2 data from view
}
i want to do
get services
post services- in post entity2 will not create/ update
How can I do?
if u have any idea Kindly advise?

dineshkumar
Автор

hi sir. validation do add any dependency.

arulmuruganpanneer
join shbcf.ru