Subversion Repositories SmartDukaan

Rev

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

Rev 10317 Rev 10318
Line 76... Line 76...
76
				 "{\"selling_price\""+":"+"\""+price+
76
				 "{\"selling_price\""+":"+"\""+price+
77
		 "\"}");*/
77
		 "\"}");*/
78
		 StringEntity input = null;
78
		 StringEntity input = null;
79
		 try {
79
		 try {
80
			 input = new StringEntity(outer.toString());
80
			 input = new StringEntity(outer.toString());
81
			 logger.info("Json input " + jsonRequest.toString());
81
			 logger.info("Json input " + outer.toString());
82
		 } catch (UnsupportedEncodingException e) {
82
		 } catch (UnsupportedEncodingException e) {
83
			 logger.error("Unable to create request",e);
83
			 logger.error("Unable to create request",e);
84
		 }
84
		 }
85
		 input.setContentType("application/json");
85
		 input.setContentType("application/json");
86
		 httppost.setEntity(input);
86
		 httppost.setEntity(input);