How To Return JSON With Flask For an API - Flask Fridays #16
In this video I'll show you how to return JSON using Flask to create an API.
Returning JSON instead of a webpage in Flask is super easy, all you have to do is return a Python Dictionary and Flask will convert it into JSON for you.
You used to have to use Jsonify to do this, but not any more. In this video we'll create a little app that returns the current date as JSON.
✅ Watch The Flask Playlist
https://bit.ly/3ig2eJn
▶️ Get The Code
http://bit.ly/2L1jBl5
✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR
▶️ See More At:
https://Codemy.com
✅ Join My Facebook Group:
http://bit.ly/2GFmOBz
▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube
✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN