docs(docker): note ports and curl usage

This commit is contained in:
Colin Woodbury 2022-02-21 14:40:18 -08:00
parent 7c36379715
commit 27f30212e8
No known key found for this signature in database
GPG key ID: 101BA589276BB074

View file

@ -37,3 +37,14 @@ With a running cluster, execute the following in a new terminal:
```sh ```sh
docker compose run test docker compose run test
``` ```
### Querying the RPC
The Fast (Python) API runs on Port 8444, while the legacy PHP version runs
on 8443. You can query one like so:
```sh
curl -k "https://localhost:8444/rpc/?v=5&type=search&arg=python"
```
`-k` bypasses local certificate issues that `curl` will otherwise complain about.