perform httprequest in batch file

2019-09-06 12:50发布

问题:

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.