Flask AJAX Tutorial: Basic AJAX in Flask app | Flask casts

  Рет қаралды 19,262

Red Eyed Coder Club

Red Eyed Coder Club

Күн бұрын

This Flask AJAX Tutorial is about how to do basic AJAX in Flask framework. That is how to perform GET and POST requests (xhr requests) to Flask with JQuery library.
This Basic Flask AJAX Tutorial goes over some of the basics you need to do and know when doing AJAX in Flask.
I would say that this Flask Tutorial is also a JQuery AJAX Tutorial for Python developers.
Follow me @:
Telegram: t.me/red_eyed_...
Twitter: / codereyed
Facebook: redeyedc...
➥ Please ➥ Like ➥ Comment ➥ Subscribe
✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:
/ red_eyed_coder_club
or its landing:
red-eyed-coder...
=== 📎 The source code is available via Patreon ===
/ 65896482
✴️✴️✴️ Other Flask videos ✴️✴️✴️
Python Flask and Vue Tutorial: TODO app with Flask and Vue.js
• Python Flask Vue Tutor...
Python Flask Tutorial: Full Course in one video
• Python Flask Tutorial:...
✴️✴️✴️ PLAYLISTS ✴️✴️✴️
🔹Django 3 Tutorial: Blog Engine
• Python Django Tutorial...
🔹Kivy Tutorial: Coppa Project
• Python Kivy tutorial #...
🔹Telegram Bot with Python (CoinMarketCap)
• Python Telegram Bot Tu...
🔹Python Web Scraping
• Python Ebay Scraping T...
➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢ / @redeyedcoderclub
Flask AJAX Tutorial: Basic AJAX in Flask app | Flask casts
• Flask AJAX Tutorial: B...
#flask #flaskajax #redeyedcoderclub

Пікірлер: 67
@mehmedkukavica8076
@mehmedkukavica8076 2 жыл бұрын
Super demonstration .Just what I need for my final sc50x.AJAX is particularly illusive but powerful.Thank you!
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you!
@mixxxim1
@mixxxim1 Жыл бұрын
Easy to follow, informative, i loved it.
@jayarajhans7515
@jayarajhans7515 Жыл бұрын
Perfect… Thank you so much for this video. It solved my problem. ❤
@RedEyedCoderClub
@RedEyedCoderClub Жыл бұрын
Thanks for the comment
@ОксанаМаркина-ф3ы
@ОксанаМаркина-ф3ы 2 жыл бұрын
Your help helps me a lot.Thanks for the video tutorial!!!!
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you, glad that the video was helpful
@СергейСегреев-ж6в
@СергейСегреев-ж6в 2 жыл бұрын
Huge help from you and your video material, thank you!
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you
@serg_D
@serg_D 2 жыл бұрын
Probably the most intelligent and understandable lesson on working with Ajax. Thanks for the clarifications.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you very much
@kiwiocanz3739
@kiwiocanz3739 Жыл бұрын
Couldn't agree more! I've been looking for an explanation like that for ages! People are more interested to show how good they are with AJAX instead of explaining how it works! Really well done, mate! You got another subscriber! Cheers
@kihyunlee5680
@kihyunlee5680 Жыл бұрын
you are amazing~~!!!
@hli68
@hli68 2 жыл бұрын
This is a great video. why does the second ajax method uses POST instead of GET?
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you! I used the POST request just to show how to pass data to Flask with it.
@ИванИванов-з1е2с
@ИванИванов-з1е2с 2 жыл бұрын
Thanks for the video --- interesting
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you!
@dylancampbell6433
@dylancampbell6433 2 жыл бұрын
I keep getting None for the printing of the Button Text
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Can you paste your code into pastebin.com service, and post here the link? I'd like to look at.
@krishnapatel6821
@krishnapatel6821 7 ай бұрын
me as well
@martinandresacebeylaime9766
@martinandresacebeylaime9766 2 жыл бұрын
nice
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you!
@diegooli9253
@diegooli9253 Жыл бұрын
it works, except this part: $('.btn').text(response.seconds) it didnt return the seconds in button text, I try a simple alert and alert dindt run too, Can you help me? sucess: function (response) { alert("test"); }
@RedEyedCoderClub
@RedEyedCoderClub Жыл бұрын
It works in all parts. Did you check your code twice?
@diegooli9253
@diegooli9253 Жыл бұрын
@@RedEyedCoderClub success not sucess, that was the problem 🤣
@yourbehaviour7027
@yourbehaviour7027 2 жыл бұрын
Just a comment .
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you for your comment!
@sashapomin
@sashapomin 2 жыл бұрын
backalap
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
mmm... ok... thanks for comment, anyway.
@nadijalesina6864
@nadijalesina6864 2 жыл бұрын
The ability to execute requests in Flash AJAX will allow you to make the most of this tool. Of course, you need to start with basic queries and expand your capabilities.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thanks for comment
@krishnapatel6821
@krishnapatel6821 7 ай бұрын
for anyone who is encountering a problem where it only says Button: None, make sure your bootstrap and jQuery is attached correctly
@suniltiwari1406
@suniltiwari1406 8 ай бұрын
Thanks , it was really wonderfully guide
@Ruslan_Gafarov
@Ruslan_Gafarov 2 жыл бұрын
Олег, пора возвращаться на русскоязычный контент, очень не хватает твоих видео😉 Или мне уже пора учить английский... 😊
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Спасибо
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
What video should I make next? Any suggestions? Write me in comments! Support the channel - like, comment, and share! Follow me @: Telegram: t.me/red_eyed_coder_club Twitter: twitter.com/CoderEyed Facebook: fb.me/redeyedcoderclub
@alexandernash6261
@alexandernash6261 2 жыл бұрын
The jQuery library for Flash AJAX is very extensive. Therefore, it is better to start studying with basic queries, and then expand your skills. It is good when there is a coordinator of your actions.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thanks for comment
@Tsakaman
@Tsakaman 2 жыл бұрын
Can this be done with basic JavaScript?
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Of course! I'll make a video about it
@andreylagno2372
@andreylagno2372 2 жыл бұрын
i liked the video
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thanks for comment!
@andreylagno2372
@andreylagno2372 2 жыл бұрын
good video
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you
@ГалинаЛагно-м2к
@ГалинаЛагно-м2к 2 жыл бұрын
very good
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thanks for comment
@normal8852
@normal8852 2 жыл бұрын
hello thanks for the video. I am getting None when i sent data from ajax to flask.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Did you check your code twice?
@normal8852
@normal8852 2 жыл бұрын
@@RedEyedCoderClubhey thanks for the reply. Yes i have checked twice. Was getting none when using request args.get and ended up using json.stringify on ajax data and json.loads(request.data) in flask function. Mine was a post reuqest by the way.
@ВладимирЧебышев-г1с
@ВладимирЧебышев-г1с 2 жыл бұрын
A very useful lesson. Help is very timely, as I have been dealing with this topic for a long time. Thank you for your help.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you very much, and have a nice day!
@kostya9169
@kostya9169 2 жыл бұрын
Thank you very much for such a detailed and informative video tutorial, this information is very important to me.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thanks for comment
@МаринаПеткова-у9м
@МаринаПеткова-у9м 2 жыл бұрын
Thank you for such a detailed and informative tutorial. I recommend this tutorial to all beginners.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you very much. I hope that it was helpful
@kostya9169
@kostya9169 2 жыл бұрын
This is the best video tutorial on Basic Flask AJAX that I managed to find on KZbin.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you very much!
@СергейХлопушка
@СергейХлопушка 2 жыл бұрын
Great video lesson, we are waiting for the next lesson, thank you for your work!
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you!
@ЗаработайБезРаботы
@ЗаработайБезРаботы 2 жыл бұрын
Thank you for such a detailed and informative tutorial.
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you!
@qliceyu
@qliceyu 2 жыл бұрын
This was very helpful! Thank you so much :D
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you for watching, and for the comment :D
@OlegBosi
@OlegBosi 2 жыл бұрын
very goooood!!!!
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you, and have a nice day
@abrikosa717
@abrikosa717 2 жыл бұрын
👍
@RedEyedCoderClub
@RedEyedCoderClub 2 жыл бұрын
Thank you!
Django AJAX Tutorial 🔥: Basic AJAX in Django app | Django casts #1
16:01
Red Eyed Coder Club
Рет қаралды 59 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 55 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 12 МЛН
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 3,5 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 107 МЛН
How to POST request in a Python Website using AJAX ? [Flask & Django]
22:07
Time to Leave Python Flask ...  then WHAT?
12:51
Stefan Mischook
Рет қаралды 46 М.
PHP in 2019 - Let's talk about it
17:00
Hitesh Choudhary
Рет қаралды 376 М.
Day in the Life of a Twitter Software Engineer
6:18
Josh and Katie
Рет қаралды 3,9 МЛН
Submit AJAX Forms with jQuery and Flask
13:24
Pretty Printed
Рет қаралды 85 М.
Async JavaScript Part 1: What is AJAX?
21:25
Code with Ania Kubów
Рет қаралды 120 М.
OpenAI’s New ChatGPT: 7 Incredible Capabilities!
6:27
Two Minute Papers
Рет қаралды 198 М.
Containerizing Python web apps with Docker, Flask, Nginx & uWSGI
25:38
The Home Server I've Been Wanting
18:14
Hardware Haven
Рет қаралды 146 М.
An Unknown Ending💪
00:49
ISSEI / いっせい
Рет қаралды 55 МЛН