final WebClient client = this.WebClient.create(vertx); final HttpRequest<Buffer> request = client
.post(443, someHost, somePath).ssl(true)
/*.putHeader("Accept-Encoding", "gzip")*/
.putHeader("Content-Type", "application/json;charset=UTF-8");
request.as(BodyCodec.jsonArray()).sendJson(body, ar -> {
final JsonArray receivedData = ar.result().body();
System.out.println(receivedData);
});--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/7479140d-f39a-43d3-a407-634d641e9227%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/Xwl-SsLyWoA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/16125DA7-AD0E-4FAC-A52F-9CD272DCAEE3%40julienviet.com.
For more options, visit https://groups.google.com/d/optout.