Ok enough said about that, on to bigger and better things!!! A while ago I was learning some VB using Visual Studio .NET (btw an excellent IDE imo - one of my favorite features is the tag insight which includes your own custom functions). I wanted to learn more about how to develop a command line application for doing HTTP calls. This originally came about because of my work at Hofstra University. We use this job scheduling software called AppWorx which unfortunately can't make a simple HTTP request, but can execute any other program under the sun. Well I figured - how hard could this be to write a command line program that will make a request to get a page. Turns out it wasn't that bad in VB. Click the link below to download my program khttp.exe (win only). Type khttp.exe -help for usage. This little program will return information like the headers/page content/date modified etc. For a quick demo try:
khttp.exe -a "http://www.google.com"
Let me know what you think, and if you do happen to like it or use it somewhere drop me a message I would be very interested in hearing how it is used.
Click here to download khttp.zip
(the usual rules about downloading strange applications applies - always check for viruses - if this blows up your machine it is not my fault - blah blah).
No comments:
Post a Comment