Get Current Project URL in PG_NET http_post?
Hello,
I'm adding a cron schedule as outlined here in the documentation (https://supabase.com/docs/guides/functions/schedule-functions#invoke-an-edge-function-every-minute).
Is there anyway I can pass the URL here without using a hardcoded string? I expect the url or at least the base url of the project is known at this stage?
Thanks for any help!
Scheduling Edge Functions | Supabase Docs
Schedule Edge Functions with pg_cron.
2 Replies
Not currently.
The recommended way right now is to use a private schema table or Vault to store your keys/urls and select from them.
Thanks as always @garyaustin