WebMonitor icon indicating copy to clipboard operation
WebMonitor copied to clipboard

自定义通知方式增加设置Header的参数

Open hhhkkk520 opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. 我正在使用的API推送消息需要先发送三个header来鉴权,但目前看起来自定义通知只能发送body并不能发送header

Describe the solution you'd like 自定义通知添加设置header的参数或选项

hhhkkk520 avatar Nov 05 '21 04:11 hhhkkk520

我的推送API示例为 curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \ -H "X-User-Id: aobEdbYhXfu5hkeqG" \ -H "Content-type:application/json" \ http://localhost:3000/api/v1/chat.sendMessage \ -d '{"message": { "rid": "Xnb2kLD2Pnhdwe3RH", "msg": "This is a test!" }}'

hhhkkk520 avatar Nov 05 '21 11:11 hhhkkk520