Erik Michelson 124b064252
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>
2021-03-29 23:00:34 +02:00
..
2021-02-15 12:15:14 +01:00
2021-02-15 12:15:14 +01:00
2020-11-14 21:18:36 +01:00
2019-05-31 00:30:29 +02:00
2021-02-15 12:15:14 +01:00
2021-02-15 12:15:14 +01:00
2018-01-18 10:41:58 +01:00