From 33ff32d97f0b70d76de1839c7fe94403bfecd7e0 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Tue, 9 Nov 2021 16:50:15 +0800 Subject: [PATCH] Adds final tests --- docker/test.http | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/test.http b/docker/test.http index 6bfdf510e7f..c436db41d23 100644 --- a/docker/test.http +++ b/docker/test.http @@ -11,12 +11,12 @@ Content-Type: application/json apikey: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyNzIwODU0MCwiZXhwIjoxOTc0MzYzNzQwfQ.zcaQfHd3VA7XgJmdGfmV86OLVJT9s2MTmSy-e69BpUY ### [postgres-meta] 403 Forbidden: anon key not allowed -GET http://localhost:8000/pg/tables HTTP/1.1 +GET http://localhost:8000/pg/health HTTP/1.1 content-type: application/json apikey: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyNzIwODU0MCwiZXhwIjoxOTc0MzYzNzQwfQ.zcaQfHd3VA7XgJmdGfmV86OLVJT9s2MTmSy-e69BpUY -### [postgres-meta] 200 OK: Service key is allowed -GET http://localhost:8000/pg/tables HTTP/1.1 +### [postgres-meta] 200 OK: service_key is allowed +GET http://localhost:8000/pg/health HTTP/1.1 content-type: application/json apikey: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjI3MjA4NTQwLCJleHAiOjE5NzQzNjM3NDB9.pkT3PNpO4DtO45Ac5HK_TKCx8sGLgNtV__pr_ZrRSAU