code: private static String construct(final String... params) {
          final StringBuilder builder = new StringBuilder();
          for (int idx = 0; idx < params.length; idx += 2) {
              builder.append(encode(params[idx]))
                  .append('=')
                  .append(encode(params[idx + 1]))
                  .append('&');
          }
          return builder.toString();
      }
docs: Construct request body from parameters.
  @param params Parameters
  @return Request body