diff options
author | nicolargo <nicolas@nicolargo.com> | 2018-08-05 17:29:08 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2018-08-05 17:29:08 +0200 |
commit | 00d9f6ae8defd30b65c5e5e09eb014ba0708b6de (patch) | |
tree | 88f2ff56bf0a8619256051301d33c6914b13c5c0 /unitest-restful.py | |
parent | 172fc2ca2c802854ad017876fc8082b02e891b69 (diff) |
Upgrade RestFul API to api/3
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-x | unitest-restful.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unitest-restful.py b/unitest-restful.py index e6a58bec..d971479b 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -32,7 +32,7 @@ from glances.compat import text_type import requests SERVER_PORT = 61234 -API_VERSION = 2 +API_VERSION = 3 URL = "http://localhost:{}/api/{}".format(SERVER_PORT, API_VERSION) pid = None |