问题
I have created a batch file (.cmd) to perform numerous tasks when installing a web application One of the tasks I want to perform is start the web application by performing a http request to the sites homepage. How can I do this? I would prefer not to have to use any external libraries or the like if possible.
回答1:
You will need to use wget, which is a command-line utility that can be used to retrieve webpages.
来源:https://stackoverflow.com/questions/4284866/perform-httprequest-in-batch-file