From 9311e7c94fd99657b420267c73b577e226f772a0 Mon Sep 17 00:00:00 2001 From: Michele Comitini Date: Sat, 19 Jan 2013 23:54:02 +0100 Subject: [PATCH] fixed comment for jsonrpc-2.0 example. --- gluon/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/tools.py b/gluon/tools.py index 81db709b..e515e74c 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4086,7 +4086,7 @@ class Service(object): Then call it with: - wget --post-data '{"jsonrpc": "2.0", "id": 1, "method": "mymethod", "params": {"param1": "val1", "param2": "val2"}}' http://..../app/default/call/jsonrpc2/myfunction + wget --post-data '{"jsonrpc": "2.0", "id": 1, "method": "myfunction", "params": {"a": 1, "b": 2}}' http://..../app/default/call/jsonrpc2/myfunction """ self.jsonrpc2_procedures[f.__name__] = f