HTTP I/O

Problem logging into website using HTTP Post

Hi,

I'm trying to login to a website using HTTP Post. I did the follwoing in my code

//Constructed the POST parameters as below
String content = "webctid"+ "=" + URLEncoder.encode("skasthur", "UTF-8");
content += "&" + "password" + "=" + URLEncoder.encode("User2031", "UTF-8");

//Using HTTPURLConnection as below

HTTPURLConnection urlConn = (HttpURLConnection)(new URL("--my target url----").openConnection());
//servletOutput.println("After connection open");
urlConn.setDoInput(true);
urlConn.setDoOutput(true);
urlConn.setRequestMethod("POST");

Problem in Login to a website using Java

hi,
i am new in java. I want to login to the following website using java program where i will give my user name and password. I tried the follwoing code ( i found it in this website ) by doing some modifications. but its only showing the login page and its content but its not logged in to the site. I think i have porblem with post message creation, but i dont know how to find the correct post message for a particular login website. Please help me. I badly need a solution.

I am trying to login in this website: https://roundup.ffmpeg.org/roundup/ffmpeg/

http - Login to a website using HTTP POST in Java - Problem

hi i using code from this page: "Login to a website using HTTP POST in Java", but i cant connect to http://online.sokker.org/start.php/start.php?session=xml





.
.
.


login:    password:    

.
.

Full Code Listing - Login to a website using HTTP POST in Java

This is a full code listing of a Java program thatcan log into a website using HTTP post. This jav program is available for download as well along with a sample PHP login form script is also provided. You will also find the URL of the live login script that you use to test this program.

Login to a website using HTTP POST in Java

A very interesting article that takes you through the bascis of how to do a HTTP POST using a Java program and provides a full working Java code to perform a login using HTTP POST. A php login script is also provided so that you can see and test this code end to end.

Syndicate content
HTTP I/O | Our website now yours! - Currenlty Java focussed.

HTTP I/O

Problem logging into website using HTTP Post

Hi,

I'm trying to login to a website using HTTP Post. I did the follwoing in my code

//Constructed the POST parameters as below
String content = "webctid"+ "=" + URLEncoder.encode("skasthur", "UTF-8");
content += "&" + "password" + "=" + URLEncoder.encode("User2031", "UTF-8");

//Using HTTPURLConnection as below

HTTPURLConnection urlConn = (HttpURLConnection)(new URL("--my target url----").openConnection());
//servletOutput.println("After connection open");
urlConn.setDoInput(true);
urlConn.setDoOutput(true);
urlConn.setRequestMethod("POST");

Problem in Login to a website using Java

hi,
i am new in java. I want to login to the following website using java program where i will give my user name and password. I tried the follwoing code ( i found it in this website ) by doing some modifications. but its only showing the login page and its content but its not logged in to the site. I think i have porblem with post message creation, but i dont know how to find the correct post message for a particular login website. Please help me. I badly need a solution.

I am trying to login in this website: https://roundup.ffmpeg.org/roundup/ffmpeg/

http - Login to a website using HTTP POST in Java - Problem

hi i using code from this page: "Login to a website using HTTP POST in Java", but i cant connect to http://online.sokker.org/start.php/start.php?session=xml





.
.
.


login:    password:    

.
.

Full Code Listing - Login to a website using HTTP POST in Java

This is a full code listing of a Java program thatcan log into a website using HTTP post. This jav program is available for download as well along with a sample PHP login form script is also provided. You will also find the URL of the live login script that you use to test this program.

Login to a website using HTTP POST in Java

A very interesting article that takes you through the bascis of how to do a HTTP POST using a Java program and provides a full working Java code to perform a login using HTTP POST. A php login script is also provided so that you can see and test this code end to end.

Syndicate content