I'm pretty new to web, now I'm trying to make a test task, a part of task is to download some strings from company site using their API; request by this page https://apitester.com/ works correctly, but when I'm trying to make request in C# code (using WebClient or HttpWebRequest), I get an exception: (308) Permanent Redirect;
WebClient client = new WebClient();
client.Headers.Add("[api key header]", "[api key]");
return client.DownloadString("http://[site].com/api/textstrings/2");
What causes this problem and how can it be solved?