Subversion Repositories SmartDukaan

Rev

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

Rev 9969 Rev 9970
Line 192... Line 192...
192
				input.setContentType("application/json");
192
				input.setContentType("application/json");
193
				System.out.println("Json input " + jsonRequest.toString());
193
				System.out.println("Json input " + jsonRequest.toString());
194
				httppost.setEntity(input);
194
				httppost.setEntity(input);
195
				HttpResponse response = null;
195
				HttpResponse response = null;
196
				try {
196
				try {
-
 
197
					System.out.println("Before send " );
197
					response = httpclient.execute(httppost);
198
					response = httpclient.execute(httppost);
-
 
199
					System.out.println("After send " );
198
				} catch (IOException e) {
200
				} catch (IOException e) {
199
					// TODO Auto-generated catch block
201
					// TODO Auto-generated catch block
200
					e.printStackTrace();
202
					e.printStackTrace();
201
				}
203
				}
202
				BufferedReader rd = null;
204
				BufferedReader rd = null;