diff options
author | jesus m. rodriguez <jesusr@redhat.com> | 2009-08-27 15:37:47 -0400 |
---|---|---|
committer | jesus m. rodriguez <jesusr@redhat.com> | 2009-08-27 15:44:21 -0400 |
commit | 576fb0e9f68b188183ca4931d3db05bd0965daf3 (patch) | |
tree | 0c3e43ba1f16d89a7481c4b15ec62ca6df241c77 /proxy/code/scripts/test-testapi.py | |
parent | d9789aca9afed12bf73cdb4311a804c7cffc5fe4 (diff) | |
download | candlepin-576fb0e9f68b188183ca4931d3db05bd0965daf3.tar.gz candlepin-576fb0e9f68b188183ca4931d3db05bd0965daf3.tar.xz candlepin-576fb0e9f68b188183ca4931d3db05bd0965daf3.zip |
consumer api work (not done yet)
Diffstat (limited to 'proxy/code/scripts/test-testapi.py')
-rwxr-xr-x | proxy/code/scripts/test-testapi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy/code/scripts/test-testapi.py b/proxy/code/scripts/test-testapi.py index ac726a8..205c61a 100755 --- a/proxy/code/scripts/test-testapi.py +++ b/proxy/code/scripts/test-testapi.py @@ -9,7 +9,8 @@ if len(sys.argv) < 1: sys.exit(1) print("------------ TESTING json create") -params = {"name":"now","uuid":"thiswork"} +params = {"name":"now","uuid":"thiswork","stringList":["string1", "string2"]} +print(type(params['stringList'])) headers = {"Content-type":"application/json", "Accept": "application/json"} conn = httplib.HTTPConnection("localhost", 8080) |