diff options
-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, |