summaryrefslogtreecommitdiff
path: root/docs/content/guides/auth
diff options
context:
space:
mode:
authorErik Michelson2021-03-29 23:00:34 +0200
committerErik Michelson2021-03-29 23:00:34 +0200
commit124b06425214921c30a88e44a139b1cc8ca15b45 (patch)
treeaa26e15cae2f48aa4651d54a2a21793e8ddd0a9d /docs/content/guides/auth
parent6531ea1a2144804677f6832646f18117b1e555a2 (diff)
Check for existing notes on POST and dont override them
Previously one could override notes in FreeURL-mode by sending multiple POST requests to the /new/<alias> endpoint. This commit adds a check for an already existing note with the requested alias and returns a HTTP 409 Conflict error in case that happens. Signed-off-by: Erik Michelson <opensource@erik.michelson.eu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions