request

public HttpApiResponse request(String httpMethod, String path, String requestJson, Optional<HttpOptions> requestHttpOptions)

Sends a Http request given the http method, path, request json string, and http options. Request bodies included for non-POST/PUT/PATCH methods will be ignored.


public HttpApiResponse request(String httpMethod, String url, Array<byte> requestBytes, Optional<HttpOptions> requestHttpOptions)

Sends a Http request given the http method, path, request bytes, and http options.