diff options
Diffstat (limited to 'proxy/code/scripts/test-poolapi.py')
| -rwxr-xr-x | proxy/code/scripts/test-poolapi.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/proxy/code/scripts/test-poolapi.py b/proxy/code/scripts/test-poolapi.py new file mode 100755 index 0000000..f297ef2 --- /dev/null +++ b/proxy/code/scripts/test-poolapi.py @@ -0,0 +1,9 @@ +#!/usr/bin/python + +import httplib, urllib +import sys +import simplejson + +response = urllib.urlopen('http://localhost:8080/candlepin/entitlementpool') +rsp = response.read() +print("list: %s" % rsp) |
