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