title: How make RestSharp request like a browser request?
body: <p>Surprisingly I noticed that the page that is obliged to share public API (<a href="https://danepubliczne.imgw.pl/api/data/hydro/" rel="nofollow noreferrer">https://danepubliczne.imgw.pl/api/data/hydro/</a>), seems to block the RestSharp request but at the same time URL at the browser return results more or less correctly... There is no one pattern of how request is blocked and I don't know if for sure that is intentional. Still, quite often  Restharp requests are unsuccessful. The request ends with a timeout or one of 500s errors. At the same time, the request for the chrome browser works in most cases correctly. Below is the code that is used to get a response from that service</p>
  <pre><code>RestClient client;
  RestRequest request;
  client = new RestClient(&quot;https://danepubliczne.imgw.pl/api/data/hydro/&quot;);
  request = new RestRequest(Method.GET);
  request.AddHeader(&quot;Accept&quot;, &quot;*/*&quot;);
  response = client.Execute(request);
  </code></pre>
  <p>So could you recommend to me how to make a Restsharp request looks like a request from example the last version of the chrome browser?</p>