mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-26 14:15:56 +03:00
[GH-ISSUE #314] API V2 的问题 #123
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#123
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 @Kerrbty on GitHub (Jun 12, 2025).
Original GitHub issue: https://github.com/Finb/bark-server/issues/314
我的使用的是docker版本,/info 返回是
当我使用API V2的 POST JOSN 去测试,发现返回 “device key is empty”,如图:

我修改代码,使用Form格式提交时候,反而成功了,如图:

文档里面写错了,还是版本问题 ?
@Finb commented on GitHub (Jun 12, 2025):
请求不合规,需要添加请求头,指明是用json传递参数