public HttpWaitStrategy withMethod(String method) {
        this.method = method;
        return this;
    }
Indicates the HTTP method to use (<code>GET</code> by default).

@param method the HTTP method.
@return this
core/src/main/java/org/testcontainers/containers/wait/strategy/HttpWaitStrategy.java