Hello,I use Java HTTPClient 4.1 for connection to the REST API.After I recieve "success" on der REST Login I couldn't use any other REST Commands.I think REST Login gives a sessionId or not?I use the following lines:
cookieStore = new BasicCookieStore();
httpContext = new BasicHttpContext();
httpContext.setAttribute(ClientContext.COOKIE_STORE, cookieStore);
//REST Login
HttpResponse response = httpClient.execute(httppost,httpContext);
//REST other
HttpResponse response = httpClient.execute(httppost,httpContext);
HTTPContext should include the session or not?Please help me