I'm trying to write my first app where in I login to website and setup some preferences. My problem is this website does not have api's or documentation on how to do it. This is my first time doing any kind of web programming. Please pardon me if my questions are naive.
While reading android documentation and searching through Stack overflow i understand HTTPPOST is the preferable way to do such a thing.
- If the website does not provide URI and documentation, how to figure out these things? I tried looking at the HTML source code. I could figure out login form. I'm not sure if that always works.
- How to figure out which encoding is to be used while creating HTTPPOST requests?
- Is there any other way to achieve this?
Thanks