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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.