Luci JSON-RPC API question
Dandi Roland
dandiroland at gmail.com
Mon Nov 30 10:46:09 EST 2020
Hi
I would like to ask a question about the OpenWrt Luci JSON-RPC API.
I want to call the class find function of luci.model.ipkg, but I don't
understand how callback works.
Can you explain?
Here is my request that I am submitting, but I don't know how to
specify the callback function or what function it would expect.
curl http://192.168.1.1/cgi-bin/luci/rpc/ipkg?auth=d454d28a1dabfde80a591d2f99e25xyz
--data @ipkg_find
ipkg_find
{
"method": "find",
"params": [
"luci",
<this place the callback function?!>
]
}
Thank you very much
Roland Dandi
Dandi Roland
dandiroland at gmail.com
More information about the openwrt-devel
mailing list