Make roverConfiguration with JSON-RPC possible
This commit is contained in:
18
cmd/server/rpc/testdata/test_rest.rest
vendored
18
cmd/server/rpc/testdata/test_rest.rest
vendored
@ -72,4 +72,22 @@ content-type: application/json
|
||||
}
|
||||
}
|
||||
} ]
|
||||
}
|
||||
|
||||
###
|
||||
POST http://192.168.100.1:8888/rpc HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"id": 1,
|
||||
"method": "Orion.ConfigureOrionBox",
|
||||
"params": [ {
|
||||
"Box": {
|
||||
"Address": "",
|
||||
"NewAddress": "",
|
||||
"Security": "",
|
||||
"SSID" : "reach:2a:03",
|
||||
"WifiKey": "emlidreach"
|
||||
}
|
||||
} ]
|
||||
}
|
Reference in New Issue
Block a user