Showing posts with label curl. Show all posts
Showing posts with label curl. Show all posts

Get the browser's response from authenticated site using curl

Tuesday, May 19, 2009 Posted by Md. Monjurul Hasan 0 comments
Some days ago I needed the images generated by a secure webpage on a routine basis (you have to enter by giving username and password and when it is clicked it runs its cgi script/php file). Without going to the browser I simply ran a shell script from cron which mainly has the following command.

curl -u username:password url

saved a lot of tym!!
Labels: ,