diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-10-13 12:16:27 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-10-13 12:16:27 +0200 |
commit | cf9b3887a46de7419c278126d09e14a228126e2d (patch) | |
tree | 4e77d19560d22035e10692332410334678046fe5 | |
parent | d00e385942a90e7e0600ee878db5d6c9120a6558 (diff) |
fix docs/get-started-cli
-rw-r--r-- | backend/lib/ACMS/API/REST.hs | 2 | ||||
-rw-r--r-- | docs/get-started-cli.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/lib/ACMS/API/REST.hs b/backend/lib/ACMS/API/REST.hs index ec72db9..44c307c 100644 --- a/backend/lib/ACMS/API/REST.hs +++ b/backend/lib/ACMS/API/REST.hs @@ -21,7 +21,7 @@ import Miso.String (MisoString) restRequest :: String -> Request restRequest endpoint = - fromString ("http://localhost:8081/api/rest/" <> endpoint) + fromString ("http://localhost:8081/api/rest" <> endpoint) schemaVersion :: (APIMonad m, A.FromJSON a) => m a schemaVersion = diff --git a/docs/get-started-cli.md b/docs/get-started-cli.md index a1ffa4f..22c0a0f 100644 --- a/docs/get-started-cli.md +++ b/docs/get-started-cli.md @@ -54,7 +54,7 @@ EOF ## Query the API ```console -curl 'http://localhost:8081' --data ' +curl 'http://localhost:8081/api/query' --data ' SELECT { name: restaurant.name, |