Skip to content

Commit ad684dd

Browse files
committed
add delete instructions in README
1 parent 8fedb77 commit ad684dd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,19 @@ Run as many nodes as you want. The port number will be self-assigned. Just keep
2020
"key": "someQueryKey"
2121
}
2222
```
23-
a. Use `PUT` method to retrieve values. Pass this as JSON body.
23+
b. Use `PUT` method to retrieve values. Pass this as JSON body.
2424
```json
2525
{
2626
"key": "someKey",
2727
"value": "someValue"
2828
}
2929
```
30+
c. Use `DELETE` method to delete data. Pass this as JSON body.
31+
```json
32+
{
33+
"key": "someKeyToDelete"
34+
}
35+
```
3036

3137
2. "/data"
3238
`GET` method to retrieve all data. No body required.

0 commit comments

Comments
 (0)