thelordoftherings
Programmer
Hello,
This is a continuation of thread269-1063133 I've popsted few days ago.
I need a code example of how to enter Username and Password for a certain site after I've opened HttpURLConnection with it. I tried looking for help on the methods setDoInput() and setDoOutput() which I beleive are the ones that with them I doing the insertion of the parameters.
If someone can please show me how to do it on an arbitrary site it would be great (lets say enter my Username and Password into my Yahoo account at the login page and then "hit" the enter to actually enter, for example). For the record, I am doing it on a site I have legal access to and is fully aware of my actions.
This is a continuation of thread269-1063133 I've popsted few days ago.
I need a code example of how to enter Username and Password for a certain site after I've opened HttpURLConnection with it. I tried looking for help on the methods setDoInput() and setDoOutput() which I beleive are the ones that with them I doing the insertion of the parameters.
If someone can please show me how to do it on an arbitrary site it would be great (lets say enter my Username and Password into my Yahoo account at the login page and then "hit" the enter to actually enter, for example). For the record, I am doing it on a site I have legal access to and is fully aware of my actions.