This question is not
java specific. It is about http post which seems to be similiar across languages. I am not a web developer, however, I have been a DBA for over 10 years. I did do some java/servlet/jsp development in school, but that was 10 years ago. I am actually trying to get an http post macro to work on my android phone. I asked this on android forums and did not get a response. I think HTTP Post is general enough where if I am careful in how I
word my question, I can ask it here. Please bare with me. I will try not to ramble. This is a VERY basic question.
I bought a macro/job scheduler tool for android called 'tasker'. I want to use it to log into my web email with a button click (and possibly other stuff. I want to figure out how http post works). you can do http post commands from tasker by filling out a screen. I am having trouble figuring out the parameters. I don't need coding syntax. Tasker does that for me. I need to populate a data field.
I want to do it this way in part because I want to figure out how http post works. There are probably other ways to get my email. I don't want to do this. I want to figure this out.
Website:
http://webmail.verizon.net/signin/
so for data I think it is
IDToken1=myusername&IDToken2="mypassword"&
I need to pass the button name too right? What is that? and what are the key value pairs. I tried
btnSubmit=submit
and this doesn't work. I installed imacro and selenium to do some click recording to figure this out. but I can't get from the macro recorder code to what I pass to http post.
I think this is the snippet of code I need to pass the correct data.