Calling RESTFUL API
This tutorial will show you how to make a RESTful API call in .NET MAUI.
Microsoft Visual Studio Community 2022 (64-bit) - Preview
Version 17.1.0 Preview 2.0
Microsoft .NET Framework Version 4.8.09014
The purpose of this app is to show current weather of your location by latitude and longitude.
On .NET MAUI – Enabling Geolocation, we were able to get the device’s location.
I’ll be using API from OpenWeather – Current Weather Data, and make sure that you get the API key from your account.
Once you have the API key, let’s store the key in Maui.Essentials’ Preferences class. In App