3 ms·
The Google machine disagrees https://journalxtra.com/linux/bash-linuxsanity/bash-filling-web-forms-with-curl-and-wget/ https://journalxtra.com/linux/bash-linux
by ChrisArgyle 11y ago
The Google machine disagrees
https://journalxtra.com/linux/bash-linuxsanity/bash-filling-web-forms-with-curl-and-wget/ https://journalxtra.com/linux/bash-linuxsanity/bash-filling-...
TL;DR
cURL can fill out forms using the "-d" option.
http://curl.haxx.se/docs/manpage.html#-d http://curl.haxx.se/docs/manpage.html#-d
- onion2k 11y agoGoogle, very sensibly from a web security point of view, have a hidden nonce field in their surveys that you'd need to parse out of a prior request in order to submit the form. That means you can't use 'pure' cURL. formfind might well work to grab the value you'd need to send though.
- smorrow 11y agoPipe/heredoc to edbrowse will handle that, too.