I've got an AsyncTask set up to create an AndroidHttpClient and call Execute, with a HttpPost and BasicHttpContext objects I provide. I set up the HttpPost like so:
HttpPost myPost = new HttpPost("http://192.168.1.66:8080/login.html");
BasicHttpParams httpParams = new BasicHttpParams();
httpParams.setParameter("cmd", "Login");
httpParams.setParameter("Username", "test");
httpParams.setParameter("Password", "password");
myPost.setParams(httpParams);
When I execute the command, it retrieves the login page instead of the results of logging in. After monitoring the process on the server side, it seems that this is because the HTTP request arrived with no params attached! So what am I missing?