code: public String noSpaces(String str, String replaceWith) {
  		MultivaluedMap<String, String> params = new MultivaluedHashMap<>();
  		params.putSingle("string", str);
  		params.putSingle("replacement", replaceWith);
  		return getEntity(invokeGet("utils/nospaces", params), String.class);
  	}
docs: Converts spaces to dashes.
  @param str a string with spaces
  @param replaceWith a string to replace spaces with
  @return a string with dashes