Update api.py
This commit is contained in:
parent
0a25528b97
commit
d68f6d2f9a
|
@ -14,7 +14,7 @@ app = Flask(__name__)
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
"""
|
"""
|
||||||
Fait un call à l'API backend et renvoit le resultat au format JSON
|
Renvoit un phrase dans un dictionnaire au format JSON
|
||||||
"""
|
"""
|
||||||
response = {}
|
response = {}
|
||||||
response['body'] = "Je suis une réponse du backend"
|
response['body'] = "Je suis une réponse du backend"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user