amend REPL readme

main
Ziyang Hu 2 years ago
parent 2b4a0fc7a8
commit 90c9268b16

@ -20,6 +20,10 @@
若要终止程序,按下 `CTRL-C` 按键,或向进程发送 `SIGTERM` (比如通过 `kill` 命令)。
## 命令行界面
在执行时加入 `-r``--repl` 参数可开启命令行界面REPL同时不会启动 web 服务。其它选择存储引擎的参数可一同使用。
## 查询 API
查询通过向 API 发送 POST 请求来完成。默认的请求地址是 `http://127.0.0.1:9070/text-query` 。请求必须包含 JSON 格式的正文,具体内容如下:

@ -29,7 +29,7 @@ To stop Cozo, press `CTRL-C`, or send `SIGTERM` to the process with e.g. `kill`.
## The REPL
If you start the server with the `-r` or `--repl` option, a web server will not be started.
Instead, a terminal-based REPL is presented for you. The engine options can be used when
Instead, a terminal-based REPL is presented to you. The engine options can be used when
invoking the executable to choose the backend.
## The query API

Loading…
Cancel
Save