Monday, May 6, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5514  / 3 Years ago, tue, august 3, 2021, 5:51:20

I found that we can read gmail messages from a terminal window by using



curl
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


More From » command-line

 Answers
3

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.


[#30267] Wednesday, August 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rtbrbab

Total Points: 461
Total Questions: 126
Total Answers: 117

Location: Saudi Arabia
Member since Fri, Jul 1, 2022
2 Years ago
;