I am new to Vertx and Rx Java. I want to do a Http POST , but my content is a string. Here is my code :
Single<HttpResponse<Buffer>> single = webClient
.post(apiUrl)
.rxSendStream(body);
and body can be any of the following:
Flowable<Buffer>
body orObservable<Buffer>
body orBuffer
body
My question is how do i convert body to any of the above types