Request
Body Params application/json
{
"id": "GSF_ID_BSP_ETH",
"op": "G0C0S0"
}
Request Code Samples
curl --location --request POST 'http://192.168.0.168/api/network/config' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_BSP_ETH",
"op": "G0C0S0"
}'
Responses
application/json {
"code": 0,
"data": {
"token": "eth0",
"name": "AIPC-HT03",
"dhcp": 0,
"ipv6": 0,
"ipaddr": "192.168.0.186",
"netmask": "255.255.255.0",
"gateway": "192.168.0.1",
"dns1": "114.114.114.114",
"dns2": "202.96.128.86",
"mac": "D2:05:48:33:7C:7D"
}
}
Modified at 2024-12-25 04:30:30