Relative Content

Tag Archive for c#html

Get file link behind URL that force a download without prompt

I am trying to get the link to the pdf in:
https://api3.dublin.oslobors.no/v1/newsreader/attachment?messageId=60342&attachmentId=60624
but cannot find it (expecting something like http://XXXXX/yyyyy.pdf ) even in the “Network” tab of the “Inspect” page on any browser as it immediately download the file. Ultimatly I am trying to save the file via C# using WebClient.DownloadFile() but that requires a file link rather than this redirection link. If someone could point me to what type of link this is called/what function should i use then i can do my research from there. Thanks!