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()?