Understanding How Components Access the Backend Web API

Learn to understand how the React frontend consumes the backend web API.

We'll cover the following

The final topic we’ll cover in this segment is how the React frontend consumes the backend web API. If the app isn’t running, then run it by pressing “F5” in Visual Studio. If we click the “Fetch data” option in the top navigation bar in the app that opens in the browser, we’ll see a page showing weather forecasts:

Get hands-on with 1200+ tech skills courses.