vertx / io.vertx.ext.web.client / HttpRequest / sendForm

sendForm

abstract fun sendForm(body: MultiMap, handler: Handler<AsyncResult<HttpResponse<T>>>): Unit

Like #send(Handler) but with an HTTP request body multimap encoded as form and the content type set to application/x-www-form-urlencoded.

When the content type header is previously set to multipart/form-data it will be used instead.

Parameters

body - the body