Flask Tutorial Web Development with Python 12 - GET & POST

preview_player
Показать описание
Welcome to part 12 of our Flask web development tutorial, in this video we discuss how to retrieve GET and POST requests through Python.

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Рекомендации по теме
Комментарии
Автор

One of the most underrated tutorial channels in youtube. You rock man. I love your python vids

halcyonramirez
Автор

best teacher, really simple and straight forward

thebarnowlsmusic
Автор

Great video on the POST method - very clear and thorough. But you forgot to show a sample code for the GET method. After this entire explanation it would probably require not more than a few words, but then the video would be complete.

piotr.ziolo.
Автор

You just hit 100, 000 subs!! Congrats!

theguitarmanifest
Автор

Excellent tutorials - I've been using web.py and got really stuck on logins - Think I'll try Flask - Many thanks

keithlillis
Автор

I love your tutorials and you are a great teacher, but I need to make a small correction...

The "value =" param in the form field is not where Python gets the variable name from. The variable name comes from the "name" parameter in the form input field. You can use the "value" field to preset the value if you wanted to pre-fill the field with something.

joeg
Автор

For clarification, why would you have to account for 'GET' if all you're looking for is 'POST' ?

MRSpyerJournal
Автор

hey, Could you please let me know how to pass more than argument to the route function? with one argument it works fine. when i add another argument both in route and the argument as route function it throws an error saying could not bind url for the end point and asks if i forgot to specify 2nd variable value.

shilpashreeks
Автор

does anyone know what was the module name that sentdex used for securing user input strings? I can't find that video...

MichalMonday
Автор

Let's say I POST some data (string) from HTML to my flask variable and now I want to process that data and return another data(string) to another textArea of my HTML page, how do I do that?

bpac
Автор

I wanted to know how to use the modulus operator using the inputted data

SDFutureMusic
Автор

even if I type admin and password for the username and password respectively, it shows "invalid credentials"....the code is just as you wrote it. Any suggestions as to what may be the error?

shivrajacharjee
Автор

hi sentdex thanks for the amazing video, i have question i am new to flask so i want to read the dictionary from the csv and by passing arguments from the url i want to update the csv in my directory.I wrote the code in python which is working fine but i am unable to do it in flask

SaiLokesh
Автор

yes.
solition is :
from flask import ..., session
...

if __name__ == "__main__":
app.secret_key = 'password'
app.run(debug=True)

baxiry.
Автор

Thank you so much for being awesome instructor.

dejenwogayehu
Автор

Same code as yours but it doesn't redirect me to dashboard. Nor shows me an error. Help?

stanciu
Автор

0:55 "...that asks if the method is post..."

Can someone explain this? I've googled everywhere and no one has explained it, it's just something in the code that works but I don't get. As opposed to the method being GET? I don't understand that either. None of the other functions in Flask use method, get or post. Wuh?

maxiewawa
Автор

Great Video ! thanks very much! keep em up!

AndrewOnTestingCars
Автор

In future if I wish to change my server location from digital ocean to something else without changing the content and domain name, how risky is it? . ..

katrix
Автор

Hello this is one of the best tutorial even two years after . I get this error . ( TypeError: Object of type 'TypeError' is not JSON serializable) when i try to login. Please any help.

alexaime