login-automation

Techniques for logging into websites programmatically

故事扮演 提交于 2019-12-21 03:00:52
问题 I am trying to automate logging into Photobucket for API use for a project that requires automated photo downloading using stored credentials. The API generates a URL to use for logging in, and using Firebug i can see what requests and responses are being sent/received. My question is, how can i use HttpWebRequest and HttpWebResponse to mimic what happens in the browser in C#? Would it be possible to use a web browser component inside a C# app, populate the username and password fields and