Update api.py

This commit is contained in:
Alex Jauneau
2019-04-25 17:45:30 +02:00
committed by GitHub
parent 0a25528b97
commit d68f6d2f9a

View File

@@ -14,7 +14,7 @@ app = Flask(__name__)
@app.route('/')
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['body'] = "Je suis une réponse du backend"