From e6e04b412e4b997e71a5c43b69fb3cf27a08b804 Mon Sep 17 00:00:00 2001 From: fuwa Date: Tue, 23 Jul 2019 02:25:48 +0000 Subject: [PATCH] add rpc test --- etc/scripts/test-rpc.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 etc/scripts/test-rpc.sh diff --git a/etc/scripts/test-rpc.sh b/etc/scripts/test-rpc.sh new file mode 100755 index 0000000..dc4cfec --- /dev/null +++ b/etc/scripts/test-rpc.sh @@ -0,0 +1 @@ +curl -X POST http://nas:34568/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_connections"}'