how to handle redirect from http response in c# code ?
Posted
by dotnetcoder
on Stack Overflow
See other posts from Stack Overflow
or by dotnetcoder
Published on 2010-04-15T21:42:08Z
Indexed on
2010/04/15
21:53 UTC
Read the original article
Hit count: 175
c#
I have a http request call that return a url . If I run this url in IE it returns a page that redirects to a another page and downloads the excel file.
How can I abstract this whole process in a c# Api tha will deal with http request + response + redirect + file_downlaod in a method and evetually return the file or the file stream.
thanks for the help.
© Stack Overflow or respective owner