soostone/README.md

30 lines
350 B
Markdown
Raw Permalink Normal View History

2022-04-09 19:36:23 +00:00
# Soostone
## Start
First create tables:
```sh
soostone create-tables
```
Then start backend:
```sh
soostone run
```
## Request examples
### Insert
```sh
curl -v -H 'Content-Type: application/json' -X POST --data '"abc"' http://localhost:9000/api/v1/input
```
### Query
```sh
curl -v -X GET 'http://localhost:9000/api/v1/query?key=abc'
```