title: indy https GET - authentication
body: <p>I am trying to make a HTTPS-get request work in order to load a webpage wich has the url starting with "https:". I am using Indy10 (5248) with delphi 7. I don't seem to be able to get the authorization right, even using the same name/password or domain\name/password that I use in a browser. All I get is the same server response as if in the browser I would cancel the authentication request.</p>
  
  <p>Now there are several ways to supply name/pwd:</p>
  
  <ul>
  <li>they can be entered as property values in idHTTP.request</li>
  <li>idem, in idHTTP.ProxyParams</li>
  <li>idHTTP has a number of on...Authorization-events</li>
  <li>a <a href="https://stackoverflow.com/questions/4223839/how-to-make-an-https-post-request-in-delphi">Post-example</a> uses named parameters, but that seems to be specific for the google site it is trying to access (otherwise, how would I find out what the parameter names are..?)</li>
  </ul>
  
  <p>In addition there are options. Even though there's a finite number of combinations, I haven't been able yet to find one working for me. What is the correct way of doing this?</p>
  
  <pre><code>s := IdHTTP1.Get('https://qwerty.wur.nl');
  Memo1.Lines.Add(Format('Response Code: %d', [IdHTTP1.ResponseCode]));
  Memo1.Lines.Add(Format('Response Text: %s', [IdHTTP1.ResponseText]));
  
  Memo1.Lines.Add(s);
  </code></pre>