http_get
this might be a not great question... =
Is there a way to add headers/authentication to the HTTP get function?
is there syntax that can work similar to kanye api example?
select
"content"::jsonb
from
http_get('https://api.nettoolkit.com/v1/geo/names?text=duan&latitude=37.399848&longitude=-121.898101&distance=5' ,
http_header('-h X-NTK-KEY: test_4apTtDZbcC3bp3dZcwnsZBTaoKbUxFQ6BheRIIXg'))
Is there a way to add headers/authentication to the HTTP get function?
is there syntax that can work similar to kanye api example?
select
"content"::jsonb
from
http_get('https://api.nettoolkit.com/v1/geo/names?text=duan&latitude=37.399848&longitude=-121.898101&distance=5' ,
http_header('-h X-NTK-KEY: test_4apTtDZbcC3bp3dZcwnsZBTaoKbUxFQ6BheRIIXg'))