{
"ethernets": [
{
"dhcp": false,
"dns": [
"172.16.0.201",
"172.16.0.202"
],
"gateWay": "192.168.0.1",
"ip": "192.168.0.101",
"mask": "255.255.255.0",
"name": "eth0",
"scopeId": -1
}
]
}curl --location --request POST 'http://192.168.0.220:12000/terminal/core/v1/net/ethernet/info' \
--header 'Authorization;' \
--header 'Authorization: "token": "1772884900758a3G/2VxvvL8sYGX7ch4lkw==",' \
--header 'token: 17728859184696FpLycPa6RQn6ACR6uNK1w==' \
--header 'Content-Type: application/json' \
--data-raw '{
"ethernets": [
{
"dhcp": false,
"dns": [
"172.16.0.201",
"172.16.0.202"
],
"gateWay": "192.168.0.1",
"ip": "192.168.0.101",
"mask": "255.255.255.0",
"name": "eth0",
"scopeId": -1
}
]
}'{
"code": 0,
"message": "success"
}