I'm making a console application in basic C #. The idea is to logge to a site (which already have the necessary headers), and store in variables the data entered by the person. Is there any "simple" way to achieve this? I was watching GET / POST but I really did not understand.
The idea would be the following:
-
Ask the user for their username / password (Ok)
-
Store that data in variables (Ok)
- With these data fill out a login form on a page
- Once the login has been achieved, print the text inside an ID in the HTML (which I also have)