From 401f884ce4f162fb2ec8ebab40d44de6d08891e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=91=E6=AD=8C-=E5=85=B1=E7=A9=B7=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=A4=A7=E4=B8=AD=E5=8D=8E=E5=8C=BACFO?= <47450409+dysf888@users.noreply.github.com> Date: Mon, 24 Oct 2022 16:23:52 +0800 Subject: [PATCH] Update notifications.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 放过我 给你看好康的 --- docs/guide/notifications.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/notifications.md b/docs/guide/notifications.md index 8b9a67a6..336d7cd3 100644 --- a/docs/guide/notifications.md +++ b/docs/guide/notifications.md @@ -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 酱示例