{
HttpClient client = new HttpClient();
Uri uri = new Uri(string.Format(Constants.RestUrl, "api_key=<APIKEY>&language=en-US&page=" + page));
try
{
string text = await client.GetStringAsync(uri, cancellationToken);
Console.WriteLine("Result Movie: " + text);
}
catch (HttpRequestException httpRequestException)
{
Console.WriteLine("Status code:" + httpRequestException.StatusCode);
throw;
}
}```
I ended up doing the request by hand