SELECT content::json
FROM http((
'POST',
'https://api.sendgrid.com/v3/mail/send',
ARRAY[http_header('Authorization','Bearer <somekey>'), http_header('Content-Type: application/json')],
NULL,
NULL
)::http_request)
SELECT content::json
FROM http((
'POST',
'https://api.sendgrid.com/v3/mail/send',
ARRAY[http_header('Authorization','Bearer <somekey>'), http_header('Content-Type: application/json')],
NULL,
NULL
)::http_request)