| Line 162... |
Line 162... |
| 162 |
}
|
162 |
}
|
| 163 |
ex = sb.substring(i+24,j-1);
|
163 |
ex = sb.substring(i+24,j-1);
|
| 164 |
System.out.println("EXECUTION VALUE " + ex);
|
164 |
System.out.println("EXECUTION VALUE " + ex);
|
| 165 |
HttpPost post = new HttpPost("http://selleraccounts.snapdeal.com/keymaker/login");
|
165 |
HttpPost post = new HttpPost("http://selleraccounts.snapdeal.com/keymaker/login");
|
| 166 |
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
|
166 |
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
|
| - |
|
167 |
//nameValuePairs.add(new BasicNameValuePair("username",
|
| - |
|
168 |
//"khushal.bhatia@saholic.com"));
|
| 167 |
nameValuePairs.add(new BasicNameValuePair("username",
|
169 |
nameValuePairs.add(new BasicNameValuePair("username",
|
| 168 |
"khushal.bhatia@saholic.com"));
|
170 |
"saholic-snapdeal@saholic.com"));
|
| - |
|
171 |
//nameValuePairs.add(new BasicNameValuePair("password",
|
| - |
|
172 |
//"sonline"));
|
| 169 |
nameValuePairs.add(new BasicNameValuePair("password",
|
173 |
nameValuePairs.add(new BasicNameValuePair("password",
|
| 170 |
"sonline"));
|
174 |
"bc452ce4"));
|
| 171 |
nameValuePairs.add(new BasicNameValuePair("_eventId","submit"));
|
175 |
nameValuePairs.add(new BasicNameValuePair("_eventId","submit"));
|
| 172 |
nameValuePairs.add(new BasicNameValuePair("execution",ex));
|
176 |
nameValuePairs.add(new BasicNameValuePair("execution",ex));
|
| 173 |
nameValuePairs.add(new BasicNameValuePair("lt",lt));
|
177 |
nameValuePairs.add(new BasicNameValuePair("lt",lt));
|
| 174 |
nameValuePairs.add(new BasicNameValuePair("submit","LOGIN"));
|
178 |
nameValuePairs.add(new BasicNameValuePair("submit","LOGIN"));
|
| 175 |
post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));
|
179 |
post.setEntity(new UrlEncodedFormEntity(nameValuePairs,"utf-8"));
|