title: How to capture JSON response using WebBrowser control
body: <p>I POST to website's JSON-response URL using <code>WebBrowser.Navigate()</code>.</p>
  
  <p>All goes well, including the <code>webBrowser1_DocumentCompleted()</code> event handler being called.</p>
  
  <p>But instead of getting a "quiet" response (e.g. <code>webBrowser1.Document</code>) that I can handle programmatically, I receive a File Download dialog box:</p>
  
  <p><img src="https://i.stack.imgur.com/sfDGv.png" alt="enter image description here"></p>
  
  <p>If I click the <code>Save</code> button and later examine the file, it contains exactly the JSON response that I expect.</p>
  
  <p>But I want the program capture this JSON response in-code, without displaying that dialog and having to click the <code>Save</code> button.</p>
  
  <p>How do I capture JSON response using WebBrowser control?</p>
  
  <p><em>Note:</em> before posting this question I searched SO and all I found was a similar question for which the accepted answer doesn't really explain how to do this (I'm already handling <a href="https://stackoverflow.com/a/10213240/1088880">webBrowser1_DocumentCompleted</a>). Any tips?</p>
  
  <p><strong>Update:</strong> All my searches so far yielded nothing in regard to using WebBrowser control to fetch JSON responses. Perhaps I am approaching this completely wrong? What am I missing?</p>