Secure API Calls from DB Functions with Supabase pg_net and Vault
In this post, we’ll walk through a more general approach: using the `pg_net` extension for PostgreSQL to make HTTP requests from your database triggers, and storing sensitive information (like your webhook URL or API keys) securely with Supabase Vault.