I am trying to upload an image url from another domain with the Save to drive button of Google. So google tells me that I need to include the following special HTTP headers.
Access-Control-Allow-Origin: * Access-Control-Allow-Headers: Range Access-Control-Expose-Headers: Cache-Control, Content-Encoding, Content-Range Do some one know how I can include this headers in my project?
I get this information from https://developers.google.com/drive/web/savetodrive
Save to Drive Demo: Basic Page