RayWangQvQ / BiliBiliToolPro

B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
MIT License
6.39k stars 1.78k forks source link

【建议】自定义Api添加自定义头部 #739

Closed jhqwqmc closed 4 months ago

jhqwqmc commented 4 months ago

确认

建议内容

给自定义api的Args添加自定义头部用于api校验请求

{
  "Name": "OtherApiBatched",
  "Args": {
    "api": "",
    "headers": "{\"Authorization\": \"Bearer abcdefg1234\"}", //需添加部分
    "placeholder": "#msg#",
    "bodyJsonTemplate": "{\"msgtype\":\"markdown\",\"markdown\":{\"content\":#msg#}}",
    "restrictedToMinimumLevel": "Information"
  }
}
RayWangQvQ commented 4 months ago

感谢建议,会加入计划,但与 #678 重复