yii2 working with request - yii2 tutorials | part 8

preview_player
Показать описание
The video covers the following topics:

How to access GET and POST data from the request.
How to handle a request made with ContentType: application/json.
How to handle PUT/DELETE and other types of requests.
How to get parts of the request URL: Hostname, query string and so on.
How to get headers of the request.
How to detect the method and type of the request.
How to get User Agent, User IP and so on.

Read more about CSRF validation:

----------------------------------------------------------------------------------
Check my other videos about yii2 framework
----------------------------------------------------------------------------------

Check my Github:

Follow me on social media:
Рекомендации по теме
Комментарии
Автор

Amazing, Thanks man, Greetings from Syria.
We need a video about, Unit & Integration Testing in Yii2

juststudying
Автор

I really thank you for showing

'parsers' => [
'application/json' => \yii\web\JsonParser::class
]

in web.php
It helped me so much

😀😀😀

vitaliyandriiv
Автор

Thank you sir... please make more videos on this framework. you have amazing teaching skill..keep it up...subscribed...

bigbang
Автор

Excellent, Thank you a lot ... I am a beginner in programming with Yii and it has been a little hard because your ritm is some fast for me... Keep going

freddybautista
Автор

Excellent! I expect more advanced videos little by little! Regards!

NicoILeone
Автор

very nice video! I don't understand when you disabling the csrf, how do you manage csrf attacks?

alexd
Автор

Awesome 😘I really want to share my base project work with you sooner .

naresh
Автор

Hi there, thanks for the great videos. May i ask, as ur demo for put and delete, passing requests through body from postman. Does it have to be the same for HTML Form submission? Or still could be simply pass within the input tags?

wikicoder
Автор

Even GPT-4 doesn't know about JsonParser in web.php

vitaliyandriiv
visit shbcf.ru