Learn how to access query string arguments using plain Flask and in a Flask REST API using Flask-Smorest.
I'll show you how to access individual values or when multiples of the same query string value are passed. To do this we use request.args.get('value') or request.args.getlist('value').
Things are slightly more complicated with Flask-Smorest, so watch the video to find out!
00:00 Intro
00:30 Query strings in plain Flask
02:55 REST APIs Course
03:18 Query strings in Flask-Smorest
05:57 Conclusion
-- Links --
🐍 Our REST APIs with Flask and Python course: https://go.tecla.do/rest-apis-sale
📝 Blog Post: https://blog.teclado.com/query-string...
✅ Subscribe to the channel: https://www.youtube.com/tecladocode?s...
✅ Our Discord server: / discord
✅ Twitter: / jslvtr
Смотрите видео Query string arguments in Flask (and Flask-Smorest) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь teclado 06 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,900 раз и оно понравилось 36 людям.