summaryrefslogtreecommitdiffstats
path: root/proxy/code/scripts/test-userapi.py
diff options
context:
space:
mode:
authorjesus m. rodriguez <jesusr@redhat.com>2009-07-10 11:59:56 -0400
committerjesus m. rodriguez <jesusr@redhat.com>2009-07-10 11:59:56 -0400
commit18d2bf5aad7df2f36edf5034c4dc27ce6b38eb9a (patch)
tree0ec3cb6c34818cbd8df4974090529e567241f37d /proxy/code/scripts/test-userapi.py
parentbc268e00a0e5c37180c349266ae1072c43f11d8f (diff)
downloadcandlepin-18d2bf5aad7df2f36edf5034c4dc27ce6b38eb9a.tar.gz
candlepin-18d2bf5aad7df2f36edf5034c4dc27ce6b38eb9a.tar.xz
candlepin-18d2bf5aad7df2f36edf5034c4dc27ce6b38eb9a.zip
add json support to model objects & add userapi
Diffstat (limited to 'proxy/code/scripts/test-userapi.py')
-rwxr-xr-xproxy/code/scripts/test-userapi.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/proxy/code/scripts/test-userapi.py b/proxy/code/scripts/test-userapi.py
index 59598dd..32714e9 100755
--- a/proxy/code/scripts/test-userapi.py
+++ b/proxy/code/scripts/test-userapi.py
@@ -18,6 +18,6 @@ rsp = response.read()
conn.close()
print rsp
-#response = urllib.urlopen('http://localhost:8080/candlepin/helloworld')
-#rsp = response.read()
-#print(rsp)
+response = urllib.urlopen('http://localhost:8080/candlepin/user/candlepin')
+rsp = response.read()
+print(rsp)