code: private HttpUriRequest minterRequest() {
          switch (method.toUpperCase()) {
              case "GET":
                  return new HttpGet(url);
              case "PUT":
                  return new HttpPut(url);
              default:
                  return new HttpPost(url);
          }
      }
docs: Instantiate a request object based on the method variable.