Skip to content

Commit f0614d9

Browse files
committed
更新文档
1 parent 9a44d9e commit f0614d9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/en-us/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ curl -X POST https://api.day.app/your_key \
3232
curl -X "POST" "https://api.day.app/your_key" \
3333
-H 'Content-Type: application/json; charset=utf-8' \
3434
-d $'{
35-
"body": "Test Bark Server",
35+
"body": "Test Body",
3636
"title": "Test Title",
3737
"badge": 1,
3838
"sound": "minuet",
@@ -47,7 +47,7 @@ curl -X "POST" "https://api.day.app/your_key" \
4747
curl -X "POST" "https://api.day.app/push" \
4848
-H 'Content-Type: application/json; charset=utf-8' \
4949
-d '{
50-
"markdown": "Hello! \n**Markdown**",
50+
"body": "Test Body",
5151
"title": "Test Title",
5252
"device_key": "your_key"
5353
}'

docs/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ curl -X POST https://api.day.app/your_key \
3232
curl -X "POST" "https://api.day.app/your_key" \
3333
-H 'Content-Type: application/json; charset=utf-8' \
3434
-d $'{
35-
"body": "Test Bark Server",
35+
"body": "Test Body",
3636
"title": "Test Title",
3737
"badge": 1,
3838
"sound": "minuet",
@@ -47,7 +47,7 @@ curl -X "POST" "https://api.day.app/your_key" \
4747
curl -X "POST" "https://api.day.app/push" \
4848
-H 'Content-Type: application/json; charset=utf-8' \
4949
-d '{
50-
"markdown": "Hello! \n**Markdown**",
50+
"body": "Test Body",
5151
"title": "Test Title",
5252
"device_key": "your_key"
5353
}'

0 commit comments

Comments
 (0)