mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-17 20:41:00 +01:00
fixed crash in api list, added filter support to api list
This commit is contained in:
@@ -154,6 +154,11 @@ curl localhost:8787/anydb/v1/foo
|
||||
# list keys
|
||||
curl localhost:8787/anydb/v1/
|
||||
|
||||
# same, but do a full text search by content, searching for "foo"
|
||||
curl -X POST http://127.0.0.1:8787/anydb/v1/ \
|
||||
-H 'Content-Type: application/json'
|
||||
-d '{"key":"foo", "fulltext": true}'
|
||||
|
||||
# as you might correctly suspect you can store multi-line values or
|
||||
# the content of text files. but what to do if you want to change it?
|
||||
# here's one way:
|
||||
|
||||
Reference in New Issue
Block a user