Merge pull request #19 from dysf888/patch-3

Update notifications.md
This commit is contained in:
naiba 2022-10-24 16:34:01 +08:00 committed by GitHub
commit 640c7349d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,15 +13,15 @@ URL 里面也可放置占位符,请求时会进行简单的字符串替换。
- Bark 示例
- 名称Bark
- URL 组成: 第一个部分是 key , 之后有三个匹配 /:key/:body or /:key/:title/:body or /:key/:category/:title/:body
- URL 组成: 第一个部分是 key,之后有三个匹配 /:key/:body or /:key/:title/:body or /:key/:category/:title/:body
- 请求方式: GET
- 请求类型: 默认
- Body: 空
- 名称Bark
- URL 组成: /push
- 请求方式: post
- 请求方式: POST
- 请求类型: form
- Body: {"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":"https://xxxxxxxx/nz.png"}
- Body: `{"title": "#SERVER.NAME#","device_key":"xxxxxxxxx","body":"#NEZHA#","icon":"https://xxxxxxxx/nz.png"}`
- server 酱示例