public MockResponseHandler sendRequest(String uri, HttpRequest.Method method, String body, String contentType) {
        return sendRequest(uri, method, ByteBuffer.wrap(body.getBytes(StandardCharsets.UTF_8)), contentType);
    }
Send a POST request with defined content type
container-core/src/main/java/com/yahoo/container/jdisc/RequestHandlerTestDriver.java