Subversion Repositories SmartDukaan

Rev

Rev 9073 | Rev 9077 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9073 Rev 9075
Line 77... Line 77...
77
			"flipkart"));
77
			"flipkart"));
78
			nameValuePairs.add(new BasicNameValuePair("username",
78
			nameValuePairs.add(new BasicNameValuePair("username",
79
			"flipkart-support@saholic.com"));
79
			"flipkart-support@saholic.com"));
80
			nameValuePairs.add(new BasicNameValuePair("password",
80
			nameValuePairs.add(new BasicNameValuePair("password",
81
			"076c27ee24d7596b06608a8ed2559f87"));
81
			"076c27ee24d7596b06608a8ed2559f87"));
82
			post.setEntity(new UrlEncodedFormEntity(nameValuePairs));
82
			post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));
83
			HttpResponse response = client.execute(post);
83
			HttpResponse response = client.execute(post);
84
			rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
84
			rd = new BufferedReader(new InputStreamReader(response.getEntity().getContent()));
85
			String line = "";
85
			String line = "";
86
			while ((line = rd.readLine()) != null) {
86
			while ((line = rd.readLine()) != null) {
87
				System.out.println(line);
87
				System.out.println(line);