<div dir="ltr">I can&#39;t figure out how to get the content of post data <div><br></div><div>My server start</div><div><br></div><div><div>Undertow.builder()</div><div>        .addHttpListener(8080, &quot;0.0.0.0&quot;)</div><div>        .setHandler(Handlers.routing().post(&quot;/bid&quot;, new BidHandler()))</div><div>        .build()</div><div>        .start();</div></div><div><br></div><div>And the handler class</div><div><br></div><div><div>public final class BidHandler implements HttpHandler {</div><div><br></div><div>    @Override</div><div>    public void handleRequest(final HttpServerExchange exchange) throws Exception {</div><div>         ........</div><div>    }</div><div>}</div></div><div><br></div><div><br></div><div>If I make a curl request like so</div><div><br></div><div>curl -H &quot;Content-Type: application/json&quot; -X POST -i -d &#39;{&quot;some&quot;: &quot;value&quot;}&#39; <a href="http://127.0.0.1:8080/bid">http://127.0.0.1:8080/bid</a><br></div><div><br></div><div>It gets to the handler, but I can&#39;t figure out to access the post data from the request</div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div></div>