title: Add Headers to a POST
body: <p>I am trying to pass header when i post XML Data in VB.Net.</p>
  
  <p>It needs to look like this :</p>
  
  <pre><code>POST /test1.asmx HTTP/1.1
  Host: www.test1.com
  Content-Type: text/xml; charset=utf-8
  Content-Length: length
  SOAPAction: "http://test1.org/PostApplication_V5"
  </code></pre>
  
  <p>I am using the following :</p>
  
  <pre><code>Req.Headers.Add("POST /", "test1.asmx HTTP/1.1")
              Req.Headers.Add("HOST", "www.test1.com")
              Req.Headers.Add("Content-Type", "text/xml; charset=utf-8")
              Req.Headers.Add("Content-Length", "length")
              Req.Headers.Add("SOAPAction", """http://test1.org/PostApplication_V5""")
  </code></pre>
  
  <p>Its not working</p>