replace fiber with http.ServeMux

This commit is contained in:
2025-12-23 14:24:04 +01:00
parent 37c7e808ed
commit b4fa28d0c5
8 changed files with 34 additions and 13 deletions

View File

@@ -569,7 +569,7 @@ Some curl example calls to the API:
Post a new key:
curl -X PUT localhost:8787/anydb/v1/ \
-H 'Content-Type: application/json' \
-d '{"key":"foo","val":"bar"}'
-d '{"key":"foo","data":"bar"}'
Retrieve the value:
@@ -579,6 +579,11 @@ List all keys:
curl localhost:8787/anydb/v1/
Delete an entry:
curl -s -X DELETE http://localhost:8787/anydb/v1/foo
=head1 BUGS
In order to report a bug, unexpected behavior, feature requests