]> git.r.bdr.sh - rbdr/mobius/commitdiff
Update README.md
authorJeff Halter <redacted>
Sun, 6 Oct 2024 17:35:06 +0000 (10:35 -0700)
committerGitHub <redacted>
Sun, 6 Oct 2024 17:35:06 +0000 (10:35 -0700)
Fix documentation error

README.md

index 97e2575f2298a9bbf8cb9caa217e39abf47a82e2..2c9772b5432e6d754d4244318963d9c306b6de10 100644 (file)
--- a/README.md
+++ b/README.md
@@ -185,7 +185,7 @@ Example: `--api-addr=127.0.0.1:5503`
 The stats endpoint returns server runtime statistics and counters.
 
 ```
 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,
 {
   "ConnectionCounter": 0,
   "ConnectionPeak": 0,
@@ -212,7 +212,7 @@ The reload endpoint reloads the following configuration files from disk:
 Example:
 
 ```
 Example:
 
 ```
-❯ curl -s localhost:5603/api/v1/reload | jq .
+❯ curl -s localhost:5503/api/v1/reload | jq .
 {
   "msg": "config reloaded"
 }
 {
   "msg": "config reloaded"
 }
@@ -225,7 +225,7 @@ The shutdown endpoint accepts a shutdown message from POST payload, sends it to
 Example:
 
 ```
 Example:
 
 ```
-❯ curl -d 'Server rebooting' localhost:5603/api/v1/shutdown
+❯ curl -d 'Server rebooting' localhost:5503/api/v1/shutdown
 
 { "msg": "server shutting down" }
 ```
 
 { "msg": "server shutting down" }
 ```