I am working on a simple bash script to download images from the website Tumblr. The idea is to use read to get login info from the user, and wget --post-
read
wget --post-
important: Do not use :
--header="Content-Type: text/xml"
together with --post-data. It will override
--header="Content-Type: application/x-www-form-urlencoded"
issued by wget. Post-data will not be received by HttpServlet