laravelda urlga requestlarni cheklash

Solutions on MaxInterview for laravelda urlga requestlarni cheklash by the best coders in the world

showing results for - "laravelda urlga requestlarni cheklash"
Gregg
27 Aug 2020
1//Buni siz kontrollerga qo`yishingiz kerak eng tepasiga
2// Auth bu saytda regdan o`tsa degani throttle esa keladigan zaproslarni cheklash degani
3// Ya'ni 1 daqiqada 20 ta so`rov yubrish mumkun. 
4// 20 tadan o`tib ketsa juda ko`p so`rovlar degan ingilizcha yozuv chiqadi
5
6public function __construct()
7	{
8		$this->middleware([
9			'auth',
10			'throttle:20,1'
11        ]);
12	}