Hi,
httpClientRequest = client.post(path, handler); httpClientRequest.putParameter("Authorization", "foo:foo");private List<String> getParams(final org.jboss.resteasy.spi.HttpRequest request) { final MultivaluedMap<String, String> params = request.getDecodedFormParameters();
.... }
<form name="token-authorization" action="http://localhost:8080/mobil/rest/dsplogin/login" method=POST> <input type="hidden" name="Authorization" value="foo:foo"/> <button type="submit">login</button></form>
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is no such thing in HTTP as "parameters" in a POST request. A POST body is just a blob of data.
I think what you're really asking is how do I create a POST body which is encoded like a form would be when submitted from a browser.
There's an example of that in the test suite (see HttpTest)