|
|
@ -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 |
|
|
|