1

我在响应变量中收到此错误:ReasonPhrase: 'Forbidden':

HttpClient httpClient = new HttpClient();
HttpResponseMessage response = await httpClient.GetAsync(uri);
string result = await response.Content.ReadAsStringAsync();

除了我将它与其他网址一起使用,它工作正常!请问有什么想法吗?

4

0 回答 0