[SR-Users] jsonrpc http interface cant recognize method

Yuriy Gorlichenko ovoshlook at gmail.com
Tue May 29 12:43:18 CEST 2018


found my mystake:

params : { name : "mytable" }

closed

2018-05-29 10:53 GMT+03:00 Yuriy Gorlichenko <ovoshlook at gmail.com>:

> Hi i trying to get
>
> htable.dump mytable
> via jsonrpc request
>
> {jsonrpc: "2.0",
> method: "htable.dump mytable"}
>  {
>         "jsonrpc":      "2.0",
>         "error":        {
>                 "code": 500,
>                 "message":      "Method Not Found"
>         }
> }
>
> But via kamcmd it wroks perfect
>
> Aslo i see that if i will make request withont param (core.version for
> example)
> IT works fime
>
> How to make request with param?
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180529/527da865/attachment.html>


More information about the sr-users mailing list