If the following is exposed:
@service.json
def test(a, b):
....
it works just fine when I submit url?a=val1;b=val2
but when I submit a dictionary - {"a":"val1", "b":val2"} - I can't figure
out how to catch the parameters in the function test() - it gives an error
that they are missing.
I am not fully controlling the client that does the request - I am just
giving this client url and the dictionary containing parameters.
on the server side - i.e. in test() - how do I figure out what exactly the
client is doing - how exactly the parameters are passed so that I could
read and process them in test()?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/fb2e4ba8-b4f7-4023-8890-28cbe14b1f88n%40googlegroups.com.