Thanks Mirko

Since I don't have much experience on json-rpc. can you give me some example?

I have tried
  curl http://192.168.1.1/cgi-bin/luci/rpc/net/devices
it give me nothing.

I have installed those two packages:
 CONFIG_PACKAGE_luci-mod-rpc=m
 CONFIG_PACKAGE_luci-lib-json=m

Thanks again
Xiangfu

On 04/27/2012 07:11 PM, Mirko Vogt wrote:
As part of LuCI there is a JSON-RPC interface which can be used to
configure OpenWrt.
With the uci-package you can easily read/write/apply/commit uci related
things.

http://luci.subsignal.org/trac/wiki/Documentation/JsonRpcHowTo

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to