title: How to enter login/password details and get data
body: <p>There is a one website and I want to get data to my C# application from there. </p>
  
  <p>I enter url on web browser like this <code>http://x.com/api/MY_ID</code>, firstly I get this messagebox for the login.</p>
  
  <p><img src="https://i.stack.imgur.com/TqtCj.png" alt="screenshot"></p>
  
  <p>And when I enter my account I get this response.</p>
  
  <pre><code>{"success":true,"message":null}
  </code></pre>
  
  <p>I want to do this on C#, to return this response on variable. I tried some methods with <code>HttpWebRequest</code>, <code>WebClient</code> but I couldn't do it (I had some errors with 405 Method not allowed) Can anyone help me on this? T</p>