title: Append a parameter to the URL using string.format
body: <p>I am trying to append a parameter to the URL...here is the code </p>
  
  <pre><code> Function SendingRequest(item as String) As String
  
      Dim URL As String
      URL = String.Format("http://localhost/SomeService/Type?id={0}", item)
      WebRequest.Create(URL)
      Dim dataStream As Stream = response.GetResponseStream()
              Dim reader As New StreamReader(dataStream)
              Dim responseFromServer As String = reader.ReadToEnd()
              Return responseFromServer
              reader.Close()
              response.Close()
    End Function
  </code></pre>
  
  <p>This is not returning the response...where as when i pass the hard coded url like WebRequest.Create("http://localhost/SomeService/Type?id=ABC") i am able to get the response...what might be the problem in appending the parameter????</p>