Skip to content

Attempted to bring this .net maui 6.0 but failed doing Top rated movie request #16

@richardlalancetteyoui

Description

@richardlalancetteyoui

I ended up doing the request by hand

	{
		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;
		}
	}```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions