I am trying to download a document from a webAPI. The URL I am trying to bind to a link, but url also takes Accept header.
How to pass in the Accept header along with the request?
I have seen this link but am not able to figure out how to set Header when binding webAPI URL to a link in html. (I would prefer not to use File downloader for now).