code: public String toList(final String[] appendToResponse) {
          StringBuilder sb = new StringBuilder();
          boolean first = Boolean.TRUE;
          for (String append : appendToResponse) {
              if (first) {
                  first = Boolean.FALSE;
              } else {
                  sb.append(",");
              }
              sb.append(append);
          }
  
          return sb.toString();
      }
docs: Append any optional parameters to the URL
  
  @param appendToResponse String array to convert to a comma list
  @return comma separated list