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.
Asked
Active
Viewed 6,496 times
19

Rahul Bhooteshwar
- 1,675
- 17
- 31
-
3Ok got it. we need to create BodyHandler using router.route().handler(BodyHandler.create()). Thanks to Tim Fox https://www.linkedin.com/in/timfox. – Rahul Bhooteshwar Jun 17 '15 at 06:03
-
http://vertx.io/blog/some-rest-with-vert-x/ – Christophe Roussy Aug 31 '17 at 11:28