0

How to link your rest API to your flask project to use it as a database?

how do you link your rest API to a flask project(simple code example) and is it better to use a rest API as a database for a flask project instead of SQL, my SQL , jQuery , sqlite etc... *If someone knows about flask more I would like to chat with him, I got other questions 😁

12th Oct 2019, 5:14 PM
Majd Suhail
Majd Suhail - avatar
1 Resposta
+ 1
Don't know if it helps but try: Import json from flask Flask, jsonify app = Flask(__name__) @app.route('/', methods=['GET']) def .... ... app.run()
11th Apr 2021, 10:39 PM
R.P.
R.P. - avatar