{
"settings": [
{
"id": "email.host",
"value": "111.111.111.00",
"title": "邮件服务器"
},
{
"id": "email.port",
"value": "111",
"title": "邮件服务器端口"
},
{
"id": "email.username",
"value": "xx@qq.com",
"title": "邮箱账号"
},
{
"id": "email.password",
"value": "xxxxx",
"title": "邮箱密码"
}
]
}curl --location 'ssiot.cc/api/notification/sender/post' \
--header 'Authentication: 在用户管理中创建或通过login接口获取' \
--header 'Authentication: 在用户管理中创建或通过login接口获取' \
--header 'Content-Type: application/json' \
--data-raw '{
"settings": [
{
"id": "email.host",
"value": "111.111.111.00",
"title": "邮件服务器"
},
{
"id": "email.port",
"value": "111",
"title": "邮件服务器端口"
},
{
"id": "email.username",
"value": "xx@qq.com",
"title": "邮箱账号"
},
{
"id": "email.password",
"value": "xxxxx",
"title": "邮箱密码"
}
]
}'{}