title: Android login form submission not working
body: <p>So I'm working on an app that logs into my school's grade site, sending the URL encoded username and password form. The form data for a browser login is:</p>
  
  <pre><code>Database=10
  LogOnDetails.UserName=yourusernamehere
  LogOnDetails.Password=yourpasswordhere
  </code></pre>
  
  <p>I have edited my post to include my new code, which uses Apache's HttpClient.  </p>
  
  <p>I've been informed by Amit that the code 200 OK is an appropriate response, even though it returns 302 FOUND in my browser. So, I attempted a get request at url the site redirects users to, but I only get the login page contents.</p>
  
  <p>EDIT: It works. I have no idea how, but it works. I've submitted my code as an answer. I know I had a very hard time getting here, so anyone who sees this is welcome to copy my code on their own.</p>