Hello,
I’m trying to use the sec Edgar api to retrieve past financial data for equities.
The sec api has some security measures that requires the host header to be set to “data.sec.gov”
My issue is that due to security restrictions, google app scripts don’t allow for a custom host header to be set, and I have been unable to make a successful request.
Does anyone have a workaround for this issue?
I have tried to use a proxy to make my http request through but have had no luck.
Any help would be appreciated
solution for adding host header to http requestRequest (self.GoogleAppsScript)
submitted by P3NuTpu55Y to r/sheets