Browse Source

maj apikaz

master
fabrice.regnier 2 weeks ago
parent
commit
c450771667
  1. 4
      dockers/apikaz/source/app.py

4
dockers/apikaz/source/app.py

@ -12,6 +12,8 @@ def welcome():
def hello():
return 'Hello, World'
#*************************************************
@app.route('/liste_orgas_paheko')
def get_list_orgas_paheko():
return jsonify(
@ -19,7 +21,7 @@ def get_list_orgas_paheko():
{'nom court': 'titi'}
)
/*************************************************/
#*************************************************
if __name__ == '__main__':
#define the localhost ip and the port that is going to be used

Loading…
Cancel
Save