curl --location --request PUT 'https://api.flashcat.cloud/api/n9e/webhooks' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjM2ZTRjZjI3LWI4OWYtNDFlZS04ZDhmLWZiMjdhMmZlZGIzOSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc3NTExMTEyMywidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9.IwPWDg92AjjvuUTGplaXgpexmOSsONx73M7Y7pOI_vE' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
{
"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"
}
}
]'