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'
)