mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-27 14:45:50 +03:00
[GH-ISSUE #45] device key is empty #37
Labels
No labels
enhancement
in progress
need test
pull-request
v2
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bark-server#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kuyoeku on GitHub (Mar 1, 2021).
Original GitHub issue: https://github.com/Finb/bark-server/issues/45
用的最新版的docker
使用时碰到提示,一直是这个提示。没有发送成功过。麻烦帮忙看一下。
{ "code": 400, "message": "device key is empty", "timestamp": 1614612016 }命令:
curl -X "POST" "http://*****/push" \ -H 'Content-Type: application/json; charset=utf-8' \ -u ':' \ -d $'{ "body": "te", "device_key": "vysnnvzowlzekezu", "title": "bleem", "category": "category" }'日志:
`
┌───────────────────────────────────────────────────┐
│ Fiber v2.5.0 │
│ http://127.0.0.1:8080 │
│ │
│ Handlers ............ 24 Processes ........... 1 │
│ Prefork ....... Disabled PID ................. 1 │
└───────────────────────────────────────────────────┘
2021-03-01 15:20:15 INFO 10.39.1.141 -> [400] POST 330.801µs /push => /push {
"body": "te",
"device_key": "vysnnvzowlzekezu",
"title": "bleem",
"category": "category"
}`
@Finb commented on GitHub (Mar 2, 2021):
现在应该解决了,你重新pull一下试试
@kuyoeku commented on GitHub (Mar 2, 2021):
嗯,好了。