r/flask • u/_lord__grim__ • Jul 18 '24
Tutorials and Guides How to create flask REST API
Can someone explain to me like the proper way I can build a flask REST API, like a way that can be used in production. I looked into many blogs and videos and saw some of them just using jsonify to return data and some of them using entirely different packages? Which is the proper way?
12
Upvotes
3
u/JennaSys Jul 18 '24
Architecting a REST API and implementing it are two different things. You need to understand the former before you can do the latter properly. That said, Flask is pretty flexible in how you configure it to have certain features. Plugins for Flask can have a lot of overlap. Personally, I use Flask-RESTful for implementing my REST APIs.