Take the 2-minute tour ×  I found that we can read gmail
messages from a terminal window by using  curl -u user --silent
"https://mail.google.com/mail/feed/atom"  I would now like to
submit some text (from a textarea + button press) from terminal.
So what are the steps to identify the action triggered when a
button is pressed and how to simulate the same actions in
terminal ?  For example, I want to simulate 'pass data' &
'button press' (submit ) of http://tokira.net/unicode/index.php
share|improve this question The first answer here:
superuser.com/questions/149329/… should do what you want. You
can find the param names for the <form> in the HTML. –  Jason
Conti Jul 20 '13 at 18:53 @Jason Conti Thanks for the link. – 
totti Aug 10 '13 at 5:37 add comment  2 Answers  up vote 1 down
vote accepted  If you need something more complex than just
submitting a post request (which can easily be done by cURL
directly), you may want to check Mechanize, a ruby library for
interacting with web pages.  share|improve this