From d66cbdb4277ec29ab4e0a58f0a37544ab8060b02 Mon Sep 17 00:00:00 2001 From: dannc Date: Mon, 19 Sep 2022 11:35:42 +0700 Subject: [PATCH] change get info method --- src/python-api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python-api.py b/src/python-api.py index 90039a6..a4abef9 100644 --- a/src/python-api.py +++ b/src/python-api.py @@ -7,9 +7,9 @@ api = Api(app) class Info(Resource): def get(self): - return {'version': 3, 'method': 'GET', 'message': 'Already started'} + return {'version': 3, 'method': 'GET', 'message': 'Running'} -api.add_resource(Info, '/get_info') +api.add_resource(Info, '/rest/api/get_info') if __name__ == '__main__': app.run(host='0.0.0.0', port='5290')