I am using Vert.x 3.0.0-milestone5, to develop a sample web application. Everything is working fine as far as the routing is concerned, but I am not able to access request parameters using
routingContext.getBodyAsJson()
or
routingContext.getBody()
or
routingContext.getBodyAsString()
.
Here is the complete description.
Unable to access request body using getBodyAsJson() in Vert.X 3.0.0
6.9k views Asked by Rahul Bhooteshwar At
2
If you want to use
You first need to add a body handler like below: