title: Post data from VBscript
body: <p>I have a function that need to accept two parameters- user and folder! I call that function from VBscript, and parameters need to be send with post method.  This is the Vbscript function code from where I want to post data:</p>
  
  <pre><code>Sub loadDocument()
  Const HOST = "http://192.168.0.144/webservice13/service1.asmx/Lock?User="&amp; PC\User &amp; "folder="&amp;c:\foldername
  Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
  xmlhttp.open  "POST",HOST 
  xmlhttp.send ""
  End Sub
  </code></pre>
  
  <p>Now when i try to execute this function i getting error message that i have syntax error!
  I assume that error is in this line:</p>
  
  <pre><code>Const HOST = "http://192.168.0.144/webservice13/service1.asmx/Lock?User="&amp; PC\User &amp; "folder="&amp;c:\foldername
  </code></pre>
  
  <p>How I can resolve this, how i can post two variables to this function?
  Thanks!</p>