You can download cURL from http://curl.haxx.se/ . It’s a free and open software tools.
For example curl http://nepalnews.com : return a html version of your web page in your console window. Its detail tutorial and example can be found at http://curl.haxx.se/docs/httpscripting.html
I have use curl on the following
curl -X POST -H 'Content-type: text/xml' -d @ http://myserver.com/process.gsp < firstfocus.xml
Here I am sending an xml file, firstfocus.xml, to the server myserver.com . process.gsp do calls the controller which helps in the business logic at the back end and return the result on my console window. It’s a pretty good tool for testing and development environment.
Thanks to Joshua for letting me know about this tool and its usage.
