mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
docs(docker): note ports and curl
usage
This commit is contained in:
parent
7c36379715
commit
27f30212e8
1 changed files with 11 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Reference in a new issue