Hi,
Just today I learned about Kanbanize and it looks good!
Using the API I ran into a Bad Request-response.
This is my code, using Java and Jersey:
Client client = ClientBuilder.newClient();
WebTarget target = client.target("http://kanbanize.com/index.php/api/kanbanize").path("login").path("/format/json");
Builder request = target.request();
request.header("apikey", "foobarfoobarfoobar");
Response response = request.post(Entity.entity("{\"email\": \"patri...@xxxxxxxx.yyy", "pass": "zzzzzzzzzz"}", MediaType.TEXT_PLAIN_TYPE));
My response is:
ScopedJaxrsResponse{ClientResponse{method=POST, uri=http://kanbanize.com/index.php/api/kanbanize/login/format/json, status=400, reason=Bad Request}}
I have tried some variations, but I keep getting a 400.
What am I doing wrong?
Thanks.