Let's break the scenario in 2 parts.
1) How will you send it to web2py?
a) As a query string via HTTP GET encapsulated in only one param
b) As several params, using a standard query string
c) Via HTTP POST
d) Other (tell us):
2) The web2py part is easy because it's Python, anyway. Just use json
Python module: http://docs.python.org/library/json.html
--
Vinicius Assef
On 07/07/2012 02:47 AM, Akash Kakkar wrote:
Hi,
I want to send string content (html) from client to server using JSON
and then decode the JSON to string in python controller, Can somebody
help me with the syntax.
Thanks
Akash