You're great at explaining things clearly and to the point while covering all points at the same time. Please keep up the great work! Looking forward to many more tutorials from you :)
Question: I have a list of items on a web page. When the user clicks on an item, I want to send the request with the id to a flask route, but I don't want the id in the url. I was going to have an onclick event and use js to change the value of the a hidden id field in a form, and then make a post request. This means I'd need to use js to make the post request. Is there a simpler way to avoid js making the fetch request?
Nice tutorial. Quick question: My client side is not postman but a python script only which is sending json block. At my server side, request.get_json() always showing None object. I tried with argument request.get_json(force=True) but still same error. Any idea what I might be doing wrong
Sir my case was i passing an list to my html page and create check boxes for behind each element in list and i want to reupdate it . please help me. If i sort out those my final year project was complete d.
Sir pls make videos on how to integrate mangoDB with django....highly wanted videos nowadays according to stackoverflow...And make a playlist on mangoDB and django...reply pls
what is the difference between request.args and request.view_args ?? is view_args everything specified in a route and args any argument/params in the querystring?! v.frustrating
args is for anything after the question mark. view_args is for the values in the route definition. For example, for @app.route('/home//'), user and location would be view args.
is it easy to separate the "server" file and the “app"? i see it done for javascript but not sure how it would look in python ``` const app = require('./app.js'); const PORT = process.env.PORT || 8080; ···
@@prettyprinted Oh, wow, Anthony you are in for a treat! F-Strings are amazing. They're absolutely the best way to concatenate variables into words, in any language.
Join my free course on the basics of Flask: prettyprinted.com/introflask
This is one of the best videos I've seen on requests, thank you!
You're great at explaining things clearly and to the point while covering all points at the same time. Please keep up the great work!
Looking forward to many more tutorials from you :)
I'm glad you like the video. Thanks for watching!
One of the best explanations I have seen on TH-cam. This is great ! Thank you so much and keep up the great work ! 5 starts...
No one has explained better than this. Thank you so much
Thankyou so much, One of the best explaination covering all possible use cases. Thanks!
This was great! It didn't even feel that long; all information was concise and helpful. Nice work!
Very nice job explaining FLASK... thanks a lot
Best online Teacher ever! a tons of love dude
Hey, great video. Would be awesome a video about file uploading with json parameters on the same request.
I'll see if I can find a case for that. Thanks for the idea.
Thank you for making this, you are a wonderful teacher
You're welcome!
Great video. Straight to point and clear. Thanks for the video
You're welcome! Thanks for watching.
Bro this saved my life. thanks
HI, Instead of printing all the columns in GET request, How could I get only specific columns from the postgres table?
Thank you very much for this video! :) It was really clear and I learnt a lot :)
Thank you - nicely explained
Wondeful demonstration
Question: I have a list of items on a web page. When the user clicks on an item, I want to send the request with the id to a flask route, but I don't want the id in the url. I was going to have an onclick event and use js to change the value of the a hidden id field in a form, and then make a post request. This means I'd need to use js to make the post request. Is there a simpler way to avoid js making the fetch request?
Love it. Thank you for creating it.
was wondering if there was way to print the form data onto the shell
THANK YOU SO MUCH! I was really demotivated because I was having trouble getting the gist of this but this video just made it all better!!!!
HI
I just wanted to ask... what about if I want the whole json data requested (req_data) seen
Спасибо за отличные видео!
Пожалуйста
I agree with Tim, f-strings are far easier to use. Once you start using it, it become difficult not to.
I'll give them a shot.
Thanks for the great tutorial!
Very helpful.
Very helpful. Great Video
Thanks for watching!
Thank you very very much! it was really helpfull
Nice tutorial. Quick question: My client side is not postman but a python script only which is sending json block. At my server side, request.get_json() always showing None object. I tried with argument request.get_json(force=True) but still same error. Any idea what I might be doing wrong
Hi, I'm encountering the same issue with my python script. Did you manage to get this resolved?
That was pretty awesome - Many Thanks
Thnx for the video
Sir my case was i passing an list to my html page and create check boxes for behind each element in list and i want to reupdate it . please help me. If i sort out those my final year project was complete d.
Noicee 😂👌🏻, thank you, this video was so helpful.
How show incoming json data in the brower instead of POSTMAN,
Amazing tutorial!
Thanks for watching.
Sir pls make videos on how to integrate mangoDB with django....highly wanted videos nowadays according to stackoverflow...And make a playlist on mangoDB and django...reply pls
It's a very good request..
I'll see what I can do.
Ok sir
in 22:47 how would you display the data stored in the variables onto the html file ?? any help would be appreciated thanks
Abhimanyu Parvatikar pass it when you call render template and reference using jinja
what is the difference between request.args and request.view_args ??
is view_args everything specified in a route and args any argument/params in the querystring?! v.frustrating
args is for anything after the question mark. view_args is for the values in the route definition. For example, for @app.route('/home//'), user and location would be view args.
how to display the data on the website??
is it easy to separate the "server" file and the “app"? i see it done for javascript but not sure how it would look in python
```
const app = require('./app.js');
const PORT = process.env.PORT || 8080;
···
Yeah you can. Check out my videos on organizing Flask apps.
can i get all request data or i shood take one by one(like in video) by keys?
It's a dictionary, so yeah you can take all the information at once.
i cant see the submit button, ive written exaclty the same code but doesnt work the same
how I load in database json?
thank you
You're welcome!
Is there a reason you aren't using f-strings? Format seems awkward these days.
I haven't used them yet because... I don't have a reason. I'll try them out and make a video about them. Thanks for reminding me.
@@prettyprinted Oh, wow, Anthony you are in for a treat! F-Strings are amazing. They're absolutely the best way to concatenate variables into words, in any language.
Files how?
24:58 iffffffffffffffffffffffffffffffffffffffffff 😁😁😁😁