I have a ASP.NET page that takes some key, value data and a HttpFileCollection object that is posted to it and returns a string, I want to write a page that gets this data and calls the other page and then recieves the data – kind of like a proxy as I want this page to do something with that returned data that calling the page I want directly won’t do.
so need to call me.example.org/save.aspx from other.example.org/upload.aspx so that upload receives the data from that page then does something with this data, the Save.aspx is a simple web service which I only need to use the data from it in the Upload.aspx page, is this even possible, I don’t need to affect the post variables just pass them to the new page and return it’s data all inside the page.
I have a ASP.NET page that takes some key, value data and a HttpFileCollection
Share
If I had to do it your way I’d take a look at WebRequest.
The rabbit hole begins here:
http://msdn.microsoft.com/en-us/library/system.net.webrequest%28v=vs.100%29.aspx