diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2024-10-06 10:35:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-06 10:35:06 -0700 |
| commit | 335f5eb5851db549f7654852296a48b2137f248f (patch) | |
| tree | 1c66e28621cddde6e5c1e0b1d7ad73ced2d7c972 | |
| parent | 7c005672a40eb92110e32b37f41f59c027fa8598 (diff) | |
Update README.md
Fix documentation error
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -185,7 +185,7 @@ Example: `--api-addr=127.0.0.1:5503` The stats endpoint returns server runtime statistics and counters. ``` -❯ curl -s localhost:5603/api/v1/stats | jq . +❯ curl -s localhost:5503/api/v1/stats | jq . { "ConnectionCounter": 0, "ConnectionPeak": 0, @@ -212,7 +212,7 @@ The reload endpoint reloads the following configuration files from disk: Example: ``` -❯ curl -s localhost:5603/api/v1/reload | jq . +❯ curl -s localhost:5503/api/v1/reload | jq . { "msg": "config reloaded" } @@ -225,7 +225,7 @@ The shutdown endpoint accepts a shutdown message from POST payload, sends it to Example: ``` -❯ curl -d 'Server rebooting' localhost:5603/api/v1/shutdown +❯ curl -d 'Server rebooting' localhost:5503/api/v1/shutdown { "msg": "server shutting down" } ``` |