How to Call Web API in ASP.NET Core [.NET 10.0]

How to Call Web API in ASP.NET Core [.NET 10.0]