title: Getting "The remote server returned an error: (403) Forbidden" Error Whatever I Do
body: <p>I'm getting "The remote server returned an error: (403) Forbidden." error everytime i make a request to a website.I also tried every single header i saw on browser while making a request and i'm still getting the same error.What should i do to fix this error ? This is a console application on .NET Core 3.</p>
  
  <pre><code>        var url = "my-url";
          var client = new WebClient();
          client.Headers.Add("User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36");
          client.Headers.Add("Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"); 
          ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
          var html = client.DownloadString(url);
  </code></pre>
  
  <blockquote>
    <p>Unhandled exception. System.Net.WebException: The remote server
    returned an error: (403) Forbidden.</p>
  </blockquote>