Create HTTP post request and receive response using C# console application -
i need post data url (https://somesite.com) download file in responsestrem based on parameters posted. how can using c# console application?
parameters: filename, userid, password, type
take @ system.net.webclient
class, can used issue requests , handle responses, download files:
http://www.hanselman.com/blog/httppostsandhttpgetswithwebclientandcandfakingapostback.aspx
http://msdn.microsoft.com/en-us/library/system.net.webclient(vs.90).aspx
Comments
Post a Comment