From c8fabc1bbf9acddb2bcbad0cfb2071e27e06dfa4 Mon Sep 17 00:00:00 2001 From: Alec Date: Tue, 13 Dec 2022 21:03:46 -0500 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d755d5..02fe1ec 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ The app exposes an admin API at `/api/admin`, e.g. `localhost:5000/api/admin`. #### Authorization -The admin api requires Bearer authentication. Locally, the base-64 decoded token is simply `mock_auth`, so for local calls to the admin API, provide the Authorization header with the encoded version of this token: `Authorization: Bearer bW9ja19hdXRoCg==` +The admin api doesn't require any authentication in the development environment (but does in prod). Currently, the available operations are: @@ -120,7 +120,7 @@ Currently, the available operations are: ##### Example cURL ``` -curl -XGET -H 'Authorization: Bearer bW9ja19hdXRoCg==' 'http://localhost:5000/api/admin/games/state' +curl --location --request GET "http://localhost:5000/api/admin/games/state" ```