mirror of
https://github.com/Finb/bark-server.git
synced 2026-04-26 06:05:52 +03:00
[GH-ISSUE #20] 关于Post请求 #14
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#14
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 @lovelykd on GitHub (Oct 12, 2020).
Original GitHub issue: https://github.com/Finb/bark-server/issues/20
目前的Get和Post请求都是将title/body/category等内容放在URL里面,我感觉对于Post请求,将它们封装为json payload更为合适
@mritd commented on GitHub (Oct 12, 2020):
@Finb 我要不要彻底重写一下?
@lovelykd 这个锅是 @Finb 的
@Finb commented on GitHub (Oct 13, 2020):
title/body 除了可以放在 path 和 query 里
也能放在 POST Data 里的
@lovelykd commented on GitHub (Oct 13, 2020):
了解,谢谢你们的回复
@mritd commented on GitHub (Oct 13, 2020):
其实我一直觉得应该换个正经的 web 框架,轻量级的 router 啥的 😅
@DarrenSong commented on GitHub (Sep 28, 2021):
-X 后面的内容不需要加引号吗?