In an earlier post, I talked about HTTP and how to use the TELNET client to manually perform HTTP requests independent of a browser. TELNET works great when playing around with requests on your local PC, but gets finicky when trying to connect to remote servers. Plus, it's just plain tedious to work with.
I found that a better alternative is to write a little program to make these requests and then output the response to a text file. It's actually pretty simple to do this in .NET by using the WebRequest class. Here is a link to where you can find everything you need to know about WebRequest.
No comments:
Post a Comment