title: VB Get Json File Error: 'The remote server returned an error: (400) Bad Request.'
body: <p>Code works on other web pages but i get an error with this particular web page. any help is appreciated.</p>
  
  <pre><code>    Private Function GetJson()
  
      Dim JsonString As String
  
      Dim request As Net.WebRequest = Net.WebRequest.Create("https://api-public.sandbox.gdax.com/products") 'set url
      request.Method = "GET"
  
      Dim response As Net.WebResponse = request.GetResponse()
      Dim inputstream1 As IO.Stream = response.GetResponseStream()   ' define the stream
      Dim reader As New IO.StreamReader(inputstream1)                ' get the data stream set
  
      JsonString = reader.ReadToEnd                                   'saves stream in jsonstring
  
      ProgressTxtBx.Text = JsonString
  
      'Dim read = Newtonsoft.Json.Linq.JObject.Parse(JsonString)       'Parsed
  
      inputstream1.Dispose()                                      ' CLEAN UP
      reader.Close()                                              ' 
      response.Close()                                            '
  
  End Function
  </code></pre>