#8 Django tutorials | GET vs POST | HTTP Methods

  Рет қаралды 196,515

Telusko

Telusko

Күн бұрын

HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Although they can also be nouns, these request methods are sometimes referred as HTTP verbs. Each of them implements a different semantic, but some common features are shared by a group of them: e.g. a request method can be safe, idempotent, or cacheable.
GET
The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.
HEAD
The HEAD method asks for a response identical to that of a GET request, but without the response body.
POST
The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
PUT
The PUT method replaces all current representations of the target resource with the request payload.
DELETE
The DELETE method deletes the specified resource.
CONNECT
The CONNECT method establishes a tunnel to the server identified by the target resource.
OPTIONS
The OPTIONS method is used to describe the communication options for the target resource.
TRACE
The TRACE method performs a message loop-back test along the path to the target resource.
PATCH
The PATCH method is used to apply partial modifications to a resource.
Source : developer.mozilla.org/en-US/d...
Github :- github.com/navinreddy20/Python-
Editing Machines & Monitors :
amzn.to/2HA6ra8
amzn.to/2VMBBPw
amzn.to/2RfKWgL
amzn.to/2Q665JW
amzn.to/2OUP21a.
Check out our website: www.telusko.com
courses.telusko.com
Instagram : / navinreddy20
Twitter : / navinreddy20
Facebook:
Telusko : / teluskolearn. .
Navin Reddy : / navintelusko
Subscribe to our other channel:
Navin Reddy : / @navinreddy
Telusko Hindi : / @teluskohindi
Donation & Support:
Indian Payment : www.instamojo.com/@NavinReddy/
PayPal Id : navinreddy20
Patreon : navinreddy20

Пікірлер: 107
@victorystocktv
@victorystocktv 4 жыл бұрын
1:04 If you are filling a form and then you want to submit your data. that's POST POST is for adding the new data to the server. GET is fetching the data.(데이터 가져오기) PUT is basically to update the resource, to update the data of the server. 1:55 GET 예시 4+5=9. What happens is you are actually sending the data on the edges of the bar. 2:20 POST: When you want to pass some data server, bar가 보이면 내 아이디, 비밀번호 노출되니까 숨기고 싶을 때. 4:15 CSRF 는 해커가 attack 하는 방법 중 하나. 5:55 fetch -> GET submit -> POST Thank you very much!!!!!!!!!
@diptikulkarni3220
@diptikulkarni3220 4 жыл бұрын
These are going at the right speed and the concepts are perfectly clear! Thanks a lot!
@sreekarg6091
@sreekarg6091 5 жыл бұрын
It's very helpful and easy to understand and also I've recommended your series on Python videos to my colleagues and friends to learn in a simple and fun way. Thank you :)
@ajinkyadeshpande9048
@ajinkyadeshpande9048 4 жыл бұрын
This was excellent, looking forward for more videos on django, especially database interaction
@shatabhishekbaidya1546
@shatabhishekbaidya1546 5 жыл бұрын
Sir, please continue.making this Django series loving it ❤
@aaryank6331
@aaryank6331 4 жыл бұрын
Hi Navin, Thanks for your videos. I had a query: The address bar should display the page "result" but it is showing "add" after submitting.
@pasindudeminka7703
@pasindudeminka7703 26 күн бұрын
I am so glad I found this tutorial. Everything is very clear up to now
@rohankiratsata1161
@rohankiratsata1161 5 жыл бұрын
I got Addicted to programming when I started watching ur Video....Thanks Navin Sir
@hariprasadcb
@hariprasadcb 3 жыл бұрын
thanks I was looking for Django everywhere this is the best one
@lokeshreddybaddela9005
@lokeshreddybaddela9005 5 жыл бұрын
Hey ailen Sir !! I got into a situation where i have to create a single page chat box , here i am not getting how to stay on the samepage after the post and also how retrive the previous messages ? Little new to ui so not sure if i cam save the chat on browser till the session ends !!
@blackbox330
@blackbox330 3 жыл бұрын
Sir, Great video. The concept has been explained in simple and interesting way.
@salvindsouza7053
@salvindsouza7053 4 жыл бұрын
One of the best video to understand GET and POST
@gio4690
@gio4690 4 жыл бұрын
bro my mentor's gonna be so surprised that i learned django in a 1 week period 1 day in got this far :DD gonna continue and i am getting used to everything and thanks for emphasizing on every detail you are very cool
@prathmeshmhatre187
@prathmeshmhatre187 4 жыл бұрын
Very helpful now i am a step ahead to put my web application live online and to help you i watch the complete add on your channel
@harismith7971
@harismith7971 4 жыл бұрын
I still facing issue crsf token .I added token in template but it's throwing forbidden error
@yasark6347
@yasark6347 5 жыл бұрын
I wanna know how to implement the progress bar within fragment of webview
@KS-rs5oe
@KS-rs5oe 5 ай бұрын
Sir, I added method ="post" and executed without using csrf token. Didn't change get to post in views.py as well. Getting the output without any error. How is it possible and what could be the reason!! I am getting the data in the address bar. Can anyone explain this please!
@azeemmmyt
@azeemmmyt 5 жыл бұрын
The way of explaining is really great .
@saikushalmandala6438
@saikushalmandala6438 5 жыл бұрын
How to upload multiple files can you please help with the answer ASAP Thanks in advance
@wildbwoy2172
@wildbwoy2172 Жыл бұрын
God bless you so much Sir,I was so stuck on this one but u made it so easy for me thanks very much ☺️❤
@kpopfanfrom2017
@kpopfanfrom2017 4 жыл бұрын
Thank you sir . It helped me a lot in understanding the topic
@srilakshmi____
@srilakshmi____ Жыл бұрын
5:36 if we use POST how do we get data we input in num1 and num2? I mean POST is to add data
@tarkay2024
@tarkay2024 4 жыл бұрын
very nice explanation as always. thank you.
@rxlvnd3397
@rxlvnd3397 4 жыл бұрын
Thank you so much man! You're saving lives!
@patrickjames5397
@patrickjames5397 4 жыл бұрын
He saved mine too
@rahulsailwal4025
@rahulsailwal4025 3 жыл бұрын
Thank you for explaining csrf token...good one.
@gembaliamar69
@gembaliamar69 3 жыл бұрын
Help post when i'm changing GET to POST im getting multivaluedictkeyerror, please help me frineds.
@ahmedbenyahia6853
@ahmedbenyahia6853 4 жыл бұрын
This really a great video, thank you for the super content
@AmitSharma-po1zb
@AmitSharma-po1zb 5 жыл бұрын
Hi ..if we need to extract pdf table from a pdf document only when the page contains a keyword then how do we do it..
@hrutujasaswade7909
@hrutujasaswade7909 4 жыл бұрын
Just love your videos and intro 😍
@TinyScreenTales
@TinyScreenTales 5 жыл бұрын
csrf_token is failed for me, even after I specify the {% csrf_tokekn %} , please help me
@saranya1826
@saranya1826 5 жыл бұрын
Like..:)by seeing your notification Sir.
@kristynastribrna2001
@kristynastribrna2001 7 күн бұрын
i love your video tutorials
@harismith7971
@harismith7971 4 жыл бұрын
I facing crsf cookie not set error how to solve it
@sathvikmalgikar2842
@sathvikmalgikar2842 Жыл бұрын
thanks sir. I'm loving it.
@razatkharga3007
@razatkharga3007 4 жыл бұрын
What is the meaning of csrf cookie not set?
@rangabharath4253
@rangabharath4253 5 жыл бұрын
Awesome videos. Thank you sir
@anuragsahu6365
@anuragsahu6365 3 жыл бұрын
bahut badhya tha sir explaination
@minalmittal1820
@minalmittal1820 4 жыл бұрын
how to add csrf key to a function and not in a html form
@dayalnigam5162
@dayalnigam5162 4 жыл бұрын
Sir how to get sensor data and send it to jango server
@gopalchaudhary6170
@gopalchaudhary6170 2 жыл бұрын
Definitely wonderful lecture
@NiteshKumar-do4en
@NiteshKumar-do4en 5 жыл бұрын
Sir your presentation is very good sir please keep going with django series as like python ..
@satyawindow7257
@satyawindow7257 5 жыл бұрын
Super sir....ur way of explaining super....
@deki90to
@deki90to 3 жыл бұрын
No one explain better than you!
@yasark6347
@yasark6347 5 жыл бұрын
Can u put video for solving the error below
@jayshreejurani2431
@jayshreejurani2431 3 жыл бұрын
How can we pass multiple values?
@manpreetkaur6908
@manpreetkaur6908 5 жыл бұрын
Awsome explanation... U r my inspiration... I hope one day I'll be able to explain things like u 😛 I knw Thts difficult but silently taking tutions watching your lectures 😅😅
@mdsamitalukdar7293
@mdsamitalukdar7293 4 жыл бұрын
Sir help please Submit click but not work
@nandureddy8695
@nandureddy8695 4 жыл бұрын
Hi Naveen..we are looking forward for with in depth Python + Django course..plz share as paid content in your portal..
@sphinxprod7411
@sphinxprod7411 2 жыл бұрын
for django 4.0.3 the add action should be between /add/
@shamirahmed387
@shamirahmed387 4 жыл бұрын
How to use action tag ??
@rubelnl1
@rubelnl1 4 жыл бұрын
Simply Great :)
@meghanathreddy875
@meghanathreddy875 3 жыл бұрын
SUPER sir THANKS A LOT, ONE SMALL REQUEST those WHO are READING THIS COMMENT PLS DO NOT SKIP THE ADDS,THIS IS THE LEAST WAY WE CAN HELP THIS sir WHO IS REALLY WORKING HARD FOR US TO TEACH IN AN EAASY WAY
@nehapathak2276
@nehapathak2276 4 жыл бұрын
I repeated every steps but still I'm getting same error while using both GET or POST-----> MultiValueDictKeyError at /add 'num1' .Why?
@hiwab41
@hiwab41 3 жыл бұрын
In the home.html you havent named the name num1 thats why or maybe it isn’t that error
@gauravnagar3712
@gauravnagar3712 5 жыл бұрын
Video quality improved a lot
@CodeWithAli
@CodeWithAli 5 жыл бұрын
I want to print my name 10 times like for item in name: print(item) but I am getting an error for that
@thumbnailbyjr
@thumbnailbyjr 4 жыл бұрын
You can use range() method EX: for num in range(1,11): print('Your name')
@shubhamtalvekar4038
@shubhamtalvekar4038 5 жыл бұрын
Nice video sirji.Pleae make a video series on Machine learning and Artificial Intelligence.
@harshvalecha
@harshvalecha 4 жыл бұрын
Sir i got an error which says QueryDict object not callable and when i scroll down it targets at my POST statement
@harshvalecha
@harshvalecha 4 жыл бұрын
Any suggestions please help
@varshasingh6627
@varshasingh6627 3 жыл бұрын
MultiValueDictKeyError at /add I am getting this error...please someone give me the solution
@DeepakSaini7900
@DeepakSaini7900 3 жыл бұрын
See video at 5:24
@bharath007channel8
@bharath007channel8 4 жыл бұрын
Sir I got MultiValueDictError even after changing to post. pls help iam stuck
@codingcactus875
@codingcactus875 3 жыл бұрын
just close the (google, firefox..) tab and open a new one, and restart the server
@BizzaroBrainBoi
@BizzaroBrainBoi 4 жыл бұрын
excellent video
@soulvocals3474
@soulvocals3474 3 жыл бұрын
How are we getting values num1 and num2 in add function from home.html file
@ryuksg9846
@ryuksg9846 3 жыл бұрын
val1 = int(request.POST.get('num1',False))
@ourstereoworld
@ourstereoworld 11 ай бұрын
bro i am getting error like forbidden (403) CSRF verification failed. Request aborted. will you help me to solve this thing
@RajababuShah
@RajababuShah 4 ай бұрын
use like this: from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt @csrf_exempt def my_view(request): return HttpResponse("Hello world")
@arpankanungo8688
@arpankanungo8688 2 жыл бұрын
**HELP ANYONE??** < form action="add" method="post"> i have specified the method but i am still getting the multivaluedictkeyerror In the error it is mentioned that request method is GET I have changed it in views already as 'request.POST'
@karthikeyana9135
@karthikeyana9135 Жыл бұрын
Did you find what's the problem
@karthikeyana9135
@karthikeyana9135 Жыл бұрын
I have the same problem
@khamishabibu1738
@khamishabibu1738 5 жыл бұрын
good tutorial
@VirendraSingh-zc8rz
@VirendraSingh-zc8rz 5 жыл бұрын
Sir graphics design in Python ka video upload kijiye
@rklsaraswathi
@rklsaraswathi 5 жыл бұрын
thank you brother
@vikibhatty8417
@vikibhatty8417 4 жыл бұрын
Sir please make video on IOT series
@agranshuaggarwal3947
@agranshuaggarwal3947 4 жыл бұрын
awesome!!
@chhavimanichoubey9437
@chhavimanichoubey9437 4 жыл бұрын
ATLEAST WE GET SECURITY TOKENS FOR OUR WEBPAGES good tutorial
@vikibhatty8417
@vikibhatty8417 4 жыл бұрын
Waiting for it after completing python core
@royal9063
@royal9063 3 жыл бұрын
You r best ❤
@movie_mania9684
@movie_mania9684 4 жыл бұрын
Thank you
@b.tech.lifearse9917
@b.tech.lifearse9917 5 жыл бұрын
Hello Sir I want to make an Application, sir tell me that is it possible by python, Sir Please reply my question here are more more difficulties to understand That what do I learn Python or Java Respectively Love your videos Sir
@dev10shah
@dev10shah 4 жыл бұрын
I got it Its awesome !!!!!!
@manojrk1993
@manojrk1993 3 жыл бұрын
nice
@kalpanadeori791
@kalpanadeori791 5 жыл бұрын
I am the 1st view r and i have 1st liked. Thnx sir for your amazing explanation :😊
@vikramujjainkar9551
@vikramujjainkar9551 4 жыл бұрын
Sir how to run python script like https//www.mywebsite/mypython.py and also this program(mypython.py) also have to fetch post data
@br4676
@br4676 5 жыл бұрын
thanks sir
@surahome
@surahome 4 жыл бұрын
thank you
@gauravnagar3712
@gauravnagar3712 5 жыл бұрын
Sir can you make a video about cookies
@mangojuic3e
@mangojuic3e 3 жыл бұрын
omfg thanks a lot
@omkeshmunde
@omkeshmunde 5 жыл бұрын
helpful
@scistore8135
@scistore8135 5 жыл бұрын
Good one
@imzuyel
@imzuyel 5 жыл бұрын
Tnx
@ashutoshaman5649
@ashutoshaman5649 3 жыл бұрын
add/ in form action
@Shubham-fk4is
@Shubham-fk4is 4 жыл бұрын
off course you are cricketer .....
@parthparsaniya7883
@parthparsaniya7883 5 жыл бұрын
threading.py line 917 in _bootstrap_inner.... What is this???
@karthikmargam9378
@karthikmargam9378 5 жыл бұрын
Please do a video an rest PAYLOAD
@shakeelhaider9100
@shakeelhaider9100 4 жыл бұрын
father of bucky :P
@npm4253
@npm4253 4 жыл бұрын
Talking about thewebboston?
@shakeelhaider9100
@shakeelhaider9100 4 жыл бұрын
@@npm4253 yes. just kidding.. RESPECT Both
@npm4253
@npm4253 4 жыл бұрын
@@shakeelhaider9100 he has not uploaded for more than 3 years😑
@satishpandu7601
@satishpandu7601 5 жыл бұрын
you ruined my confusion
@user-lk3zh1wg6y
@user-lk3zh1wg6y 4 ай бұрын
19/3/2024
@quranicscience9631
@quranicscience9631 4 жыл бұрын
nice
@user-lk3zh1wg6y
@user-lk3zh1wg6y 4 ай бұрын
19/3/2024
#9 Django tutorials | Model View Template in Django | MVT
5:54
#7 Django tutorials | Addition of Two Numbers in Django
8:22
🤔Какой Орган самый длинный ? #shorts
00:42
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 7 МЛН
When to use HTTP GET vs POST?
21:10
Hussein Nasser
Рет қаралды 29 М.
If You Cannot Name All 5 JS Scopes You Need To Watch This Video
15:06
Web Dev Simplified
Рет қаралды 51 М.
#17 Django tutorials | Models and Migrations
12:13
Telusko
Рет қаралды 215 М.
Postman Tutorial #7 - HTTP Methods GET and POST in Postman
13:18
Software Testing Mentor
Рет қаралды 42 М.
#11 Django tutorials | Static Files - 2
10:02
Telusko
Рет қаралды 199 М.
#5 Django tutorials | Django Template Language | DTL
8:45
Telusko
Рет қаралды 308 М.
#10 Django tutorials | Static Files - 1
7:31
Telusko
Рет қаралды 240 М.
Python Requests | Get and Post Requests
4:54
Dan Leeman
Рет қаралды 123 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2 МЛН
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 1,1 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,1 МЛН
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,3 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,8 МЛН