{
"id": "GSF_ID_ONVIF_CFG",
"op": "G1C0S0",
"data": {
"enable": 1,
"port": 8008,
"auth": 0,
"chnum": 1
}
}
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_ONVIF_CFG",
"op": "G1C0S0",
"data": {
"enable": 1,
"port": 8008,
"auth": 0,
"chnum": 1
}
}'
{
"code": 0,
"data": {}
}