Wednesday, September 27, 2023
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5411  / 2 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, 2 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
1 Year ago
rtbrbab questions
Fri, May 5, 23, 14:22, 5 Months ago
Tue, Nov 16, 21, 14:41, 2 Years ago
Thu, Mar 23, 23, 20:47, 7 Months ago
;