© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
6 replies
Ahmad Swultra

how to pass Authorization Bearer when use pgsql-http extension

I need to send a POST request to my api website and the api needs to pass Authorization Bearer token in the header, How can I do that with http extension ?
select status
from
  http_post(
    'https://website.com/api/users/1/',
     '{"status":"active"}',
    'application/json'
  )
select status
from
  http_post(
    'https://website.com/api/users/1/',
     '{"status":"active"}',
    'application/json'
  )
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

DELETE rest request with pgsql-http extension
SupabaseSSupabase / help-and-questions
4y ago
Change http.timeout_msec for pgsql_http
SupabaseSSupabase / help-and-questions
4y ago
Basic HTTP User Auth with pgsql-http?
SupabaseSSupabase / help-and-questions
4y ago
pgsql-http to GET and POST an image
SupabaseSSupabase / help-and-questions
4y ago