Commit f0869dff authored by Andre Freyssinet's avatar Andre Freyssinet

Minor changes.

parent 20f58107
......@@ -85,8 +85,8 @@ public class RestProducer {
// target = target.queryParam("user", "anonymous");
// target = target.queryParam("password", "anonymous");
Form form = new Form();
form.param("user", "efluid")
.param("password", "diulfe");
form.param("user", "anonymous")
.param("password", "anonymous");
response = target.request()
// .accept(MediaType.TEXT_PLAIN).post("");
.accept(MediaType.TEXT_PLAIN, MediaType.APPLICATION_JSON).post(Entity.entity(form, MediaType.APPLICATION_FORM_URLENCODED));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment