0

The API that I'm using to retrieve media payload from requires an authentication header to be specified. Right now, I'm simply setting the cookies of the documents then getting the content because this seems to be the easiest way.

I ran into issues with cookies since cookies are domain specific and I'm hosting the receiver file in Google Drive instead of the domain that points to the API endpoints, I needed to set up proxy servers which would overwrite the cookies midway before the requests reach the endpoints.

This is an extremely complicated way of authentication. Does anyone know how I can specify header in the receiver file?

jensiepoo
  • 571
  • 3
  • 9
  • 26

0 Answers0