@SuppressWarnings("nls")
    private void addQueryParam(StringBuilder url, String key, String value, String connector) {
        if (value == null)
            return;

        try {
            url.append(connector).append(key).append("=").append(URLEncoder.encode(value, StandardCharsets.UTF_8.name()));
        } catch (UnsupportedEncodingException e) {
            throw new RuntimeException(e);
        }
    }
Simple write to "/write". Must be valid Influx line format.

@param payload document to write, as string (payload may be a batch).
@param failureHandler handler in case of failure
gateway/engine/influxdb/src/main/java/io/apiman/gateway/engine/influxdb/InfluxDb09Driver.java