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 😁
1 Respuesta
+ 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()