httprequest - Simple escaped http request via CMD or Browser from within a batch -


i need automate opening program, making simple http request batch file.

i can't install curl or wget or other handler. if possible i'd make request in cmd, normal browser work.

the below batch file have...

echo  start "" "c:\program files\spacialaudio\simplecast\simplecast.exe"  ping localhost -n 5 > nul    start http://localhost:8181/?artist=myartist&title=mytitle&songtype=s&duration=240000 

question 1: have use default browser?

question 2: above batch minces url, how escape correctly?

the browser ends requesting

http://localhost:8181/?artist=myartist 

even if encode url first

http://localhost:8181/?artist=myartist&title=mytitle&songtype=s&duration=240000 

i same result

double quote url.

start "" "http://blah.blah.com&text" 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -