How to send a Post request with parameters in Vertx HttpClient

3,778 views
Skip to first unread message

Princeyesuraj Edward

unread,
May 20, 2016, 12:49:24 PM5/20/16
to vert.x
I need help in understanding how to send parameter in both GET and POST method in vertx HttpClient.

Documentation or any example for vertx3 HttpClient is available for making any request with parameters.


Alexander Lehmann

unread,
May 20, 2016, 6:35:00 PM5/20/16
to vert.x
Execute a POST request like here:

http://vertx.io/docs/vertx-core/java/#_writing_request_bodies

put the GET parameters into the url string and put the encoded post data into the end method.

(I don't think there is a method to create POST parameters directly)
Reply all
Reply to author
Forward
0 new messages