Articles

send a http request to URL

November 9, 2012 at 15:10:45
Specs: Windows 7

Hi,
How can I send the following http request from a batch file?
http://127.0.0.1:8080/requests/stat...

thanks for any help on that


See More: send a http request to URL

Report •


#1
November 9, 2012 at 16:49:57

I don't think batch can do that, but I believe vbscript can, with something like this:

set ie=createobject("InternetExplorer.Application.1")
ie.visible=true
'ie.fullscreen=true
ie.navigate "http://127.0.0.1:8080/requests/status.xml?command=pl_play"

but I can't test it on the provided url since it is not available to me.


Report •

#2
November 10, 2012 at 01:28:50

start http://yahoo.com


====================================
Life is too important to be taken seriously.

M2


Report •

#3
November 12, 2012 at 13:02:31

You can use telnet, netcat, curl or wget. Or like M2 said, just use start.

Tony


Report •

Related Solutions


Ask Question