Uri not Absolute exception getting while calling Restful Webservice
An absolute URI specifies a scheme; a URI that is not absolute is said to be relative. http://docs.oracle.com/javase/8/docs/api/java/net/URI.html So, perhaps your URLEncoder isn’t working as you’re expecting (the https bit)? URLEncoder.encode(uri)