VertX HTTP GraphQL request responds with 'Query is missing'

149 Views Asked by At

When attempting a HTTP request message to the Vert.X HTTP server endpoint, it fails with the error 'io.vertx.core.impl.NoStackTraceThrowable: Query is missing'. This happens when the Query is passed as part of the request body. The same is NOT observed when the 'query' is provided in the URL.

Adding the following code did not help either.

router.route().handler(BodyHandler.create());

0

There are 0 best solutions below