WIP: JSONRPC server refactoring
This commit is contained in:
11
cmd/server/jsonrpc/testdata/test_rest.rest
vendored
11
cmd/server/jsonrpc/testdata/test_rest.rest
vendored
@ -1,6 +1,17 @@
|
||||
POST http://192.168.100.1:8888/rpc HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"id": 0,
|
||||
"method": "Orion.OwrtListWifiDevices",
|
||||
"params": []
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
POST http://192.168.100.1:8888/rpc HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"id": 1,
|
||||
"method": "Orion.OwrtCreateWifiInterface",
|
||||
|
Reference in New Issue
Block a user