© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
Connor

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.
Scheduling Edge Functions | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

pg_net http post request fails with numeric IP address
SupabaseSSupabase / help-and-questions
2w ago
net.http_post permission denied in trigger
SupabaseSSupabase / help-and-questions
4y ago
How to get latest pg_net
SupabaseSSupabase / help-and-questions
14mo ago
http_post not working while http_get is fine
SupabaseSSupabase / help-and-questions
4y ago