tarantool / nginx_upstream_module

Tarantool NginX upstream module (REST, JSON API, websockets, load balancing)
Other
174 stars 18 forks source link

JSON RPC one location issue #20

Closed zloidemon closed 9 years ago

zloidemon commented 9 years ago

JSON RPC usually uses with one location where you pass method and that method called. For that case would be nice fix that:

Call location /api with data:

 {"jsonrpc": "2.0", "method": "sum", "params": [1,2,4], "id": "1"}

That means module has to call remote tarantool server method sum and pass params.

dedok commented 9 years ago

@zloidemon this feature is present. Sorry for misunderstood.