yii2 working with request – yii2 tutorials | part 8

yii2 working with request – yii2 tutorials | part 8The 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.

Official documentation about request: https://bit.ly/32l2bDp
Request component API documentation: https://bit.ly/2VV3p61

Read more about CSRF validation:
https://www.yiiframework.com/doc/guide/2.0/en/security-best-practices#avoiding-csrf

———————————————————————————-
Check my other videos about yii2 framework
———————————————————————————-
Getting started with yii2 framework: https://youtu.be/JD5Y-lQNrPs
Controllers: https://youtu.be/cdVN62BxDZA
Working with models: https://youtu.be/onWaadIu5cg
Views & Rendering content: https://youtu.be/gZ81sPL4MmM
Yii2 Crash course: https://youtu.be/sRJ6GYiCwkI
Building a REST API using yii2: https://youtu.be/XyHHMvRt6Cw

Check my Github:
https://github.com/thecodeholic

Follow me on social media:
https://www.facebook.com/thecodeholic
https://twitter.com/thecodeholic