From 81e146f26b228e01c16c353ebf4c5a116cd2cf62 Mon Sep 17 00:00:00 2001 From: wave-light <40989533+wave-light@users.noreply.github.com> Date: Mon, 27 Nov 2023 03:08:36 +0000 Subject: [PATCH] Update README.md (#19103) Correct the example endpoint to `/oak-server/greet` --- .../edge-functions/supabase/functions/oak-server/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/edge-functions/supabase/functions/oak-server/README.md b/examples/edge-functions/supabase/functions/oak-server/README.md index ed2795cfc71..59bcf64f32b 100644 --- a/examples/edge-functions/supabase/functions/oak-server/README.md +++ b/examples/edge-functions/supabase/functions/oak-server/README.md @@ -8,10 +8,10 @@ This example shows how you can write functions using Oak server middleware (http supabase functions serve --no-verify-jwt ``` -Use cURL or Postman to make a POST request to http://localhost:54321/functions/v1/oak-server. +Use cURL or Postman to make a POST request to http://localhost:54321/functions/v1/oak-server/greet. ``` - curl --location --request POST 'http://localhost:54321/functions/v1/oak-server' \ + curl --location --request POST 'http://localhost:54321/functions/v1/oak-server/greet' \ --header 'Authorization: Bearer YOUR_TOKEN' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "John Doe" }'