code: @Override
      protected String doRequest(HttpRequestBase request) throws IOException {
          if(!request.getMethod().equals(HttpGet.METHOD_NAME) &&
                  !this.getWsapiVersion().matches("^1[.]\\d+")) {
              try {
                  attachSecurityInfo(request);
              } catch (URISyntaxException e) {
                  throw new IOException("Unable to build URI with security token", e);
              }
          }
          return super.doRequest(request);
      }
docs: Execute a request against the WSAPI
  
  @param request the request to be executed
  @return the JSON encoded string response
  @throws java.io.IOException if a non-200 response code is returned or if some other
  problem occurs while executing the request