{
"id": "GSF_ID_BSP_GPIO",
"op": "G0C0S0"
}
curl --location --request POST 'http://192.168.0.168/api/system/config' \
--header 'Cookie: access_token=;access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "GSF_ID_BSP_GPIO",
"op": "G0C0S0"
}'
{
"code": 0,
"data": {
"count": 2,
"vec": [
{
"idx": 0,
"enable": 0,
"num": 45,
"dir": 1,
"def_val": 0,
"state": 0
},
{
"idx": 1,
"enable": 1,
"num": 52,
"dir": 1,
"def_val": 0,
"state": 1
}
]
}
}