curl --location --request PUT 'https://api.flashcat.cloud/api/n9e/webhooks' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"timeout": 5,
"url": "http://192.168.21.199:19000/service/callback",
"note": "通知回调",
"basic_auth_user": "root",
"basic_auth_pass": "root.2020",
"enable": true,
"skip_verify": true,
"headers": {
"svr": "callback"
}
}
]'
{
"err": ""
}