Laravel 8 tutorial - API Validation

preview_player
Показать описание
In this laravel 8 API tutorial, we learn how to make api validation in laravel with a simple way. This video is made by anil Sidhu in the English language.

Laravel restfull api tutorial

API Validation steps of video
Make Route
Add Validation
Save and Return Result
Interview Question for api validation
Рекомендации по теме
Комментарии
Автор

Since we already have the add method in place. we can just call the $this->add($req) in the else block to save time.

pitakibunja
Автор

Yes, we can use the validation for any request method, as we only get the request and perform the validation on it separately from the method

abdallahahmedalshonya.a.a
Автор

Is important to use on the top o file.
use

martinhocorreiamussamba
Автор

Thank you very much for your tutorial ! =)

lyrha
Автор

the stronger the accent, the better the video

vinnt_tnniv
Автор

Yes we can use validation for any method we want...

AshutoshPradhan-nuwl
Автор

How can i use a custom validation method like $request->validate(). Means i want to define a new function something like $request->validatAjax(), that validate the request inputs and automatically send a json response on error.

vkbishu
Автор

Wait did any body not notice the way he import the Validator class, well the actual way is as show below(or beta still the way that worked for my laravel 8 in my ubuntu ) :

destinyobamwonyi
Автор

can a single validation can solve this

hariprasadhari
Автор

why we use this api in laravel.yet create any new projects this api where im use

Respect-eeur
Автор

Hello sir how can i use this with my uuid ?

HieuNguyen-ckgq
Автор

Why not in else clause call the function add($req)?

GGSoft
Автор

Hello bro, can you open your telegram? I want to buy these tools.

melaniefisher