The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add default curl data
Inianf952bb96adb3
diff --git a/studio/pages/project/[ref]/functions/[id]/details.tsx b/studio/pages/project/[ref]/functions/[id]/details.tsxindex 41efe30463d..ae216dbd2d1 100644--- a/studio/pages/project/[ref]/functions/[id]/details.tsx+++ b/studio/pages/project/[ref]/functions/[id]/details.tsx@@ -108,14 +108,15 @@ const PageLayout: NextPageWithLayout = () => {{command: `curl -L -X POST 'https://${ref}.functions.supabase.co/${selectedFunction?.slug- }' -H 'Authorization: Bearer ${anonKey ?? '[YOUR ANON KEY]'}'`,+ }' -H 'Authorization: Bearer ${anonKey ?? '[YOUR ANON KEY]'}'+ --data '{"name":"Functions"}`,description: 'Invokes the hello function',jsx: () => {return (<><span className="text-brand-1100">curl</span> -L -X POST 'https://{ref}.functions.supabase.co/{selectedFunction?.slug}' -H 'Authorization: Bearer [YOUR ANON- KEY]'+ KEY]' {`--data '{"name":"Functions"}`}</>)},diff --git a/studio/pages/project/[ref]/functions/index.tsx b/studio/pages/project/[ref]/functions/index.tsxindex 9ddb183a13f..7b3ef02b0d3 100644--- a/studio/pages/project/[ref]/functions/index.tsx+++ b/studio/pages/project/[ref]/functions/index.tsx@@ -103,13 +103,14 @@ const EmptyFunctions = () => {{command: `curl -L -X POST 'https://${ref}.functions.supabase.co/hello' -H 'Authorization: Bearer ${anonKey ?? '[YOUR ANON KEY]'- }'`,+ }' --data '{"name":"Functions"}`,description: 'Invokes the hello function',jsx: () => {return (<><span className="text-brand-1100">curl</span> -L -X POST 'https://{ref}- .functions.supabase.co/hello' -H 'Authorization: Bearer [YOUR ANON KEY]'+ .functions.supabase.co/hello' -H 'Authorization: Bearer [YOUR ANON KEY]'{' '}+ {`--data '{"name":"Functions"}`}</>)},