Thanks . it is working now. Den fredagen den 22:e mars 2013 kl. 13:00:04 UTC+1 skrev frasse: > > > Hi > > I try to send a json string to a json service but I am geting invalid > request all the time. The echo service is works with normal string. > > do you have any idea > > Thanks > /F > > > @service.json > def echo(data): > """ echo test """ > > return data > > > My client > > things = "[hi,ho]" > url = "https://www.xxx.xxx/testapp/services/call/json/echo/" + urllib. > quote(things) #urllib.quote(things.encode('utf-8')) > print url > > page = urllib.urlopen(url).read() > print page >
-- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.