From 576fb0e9f68b188183ca4931d3db05bd0965daf3 Mon Sep 17 00:00:00 2001 From: "jesus m. rodriguez" Date: Thu, 27 Aug 2009 15:37:47 -0400 Subject: consumer api work (not done yet) --- proxy/code/scripts/test-testapi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proxy/code/scripts/test-testapi.py') 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) -- cgit