Lesson 4: Use the Fetch API to Retrieve Data

preview_player
Показать описание
*Lesson 4: Use the Fetch API to Retrieve Data*

*Lesson Description*
In this lesson you create a website using ASP.NET Core. You add some JavaScript to a website page to make calls to the Web API server using the Fetch API. You learn to retrieve the response from the Web API using the .json() method. You also learn to handle 404 status codes and how to catch network exceptions in the catch() method.

*Content*
Lesson Objectives 00:00
DEMO: Create a Website Using ASP.NET Core 00:27
DEMO: Get a List of JSON Objects Using the Fetch API 01:33
DEMO: Get body Property Using .json() Method 04:03
DEMO: Get a Single JSON Object Using the Fetch API 05:31
DEMO: Handling a 404 Status Code 07:10
DEMO: Handling Errors in the catch() Method 08:09
Lesson Summary 09:12

*Helpful Links*

#javascript #webapi #minimalwebapi #fetchapi #development #programming #dotnet #dotnetcore #dotnet6 #dotnet8 #pauldsheriff #pluralsight #youtube

*Paul.About()*
Hello, my name is Paul D. Sheriff and I have a passion for teaching. I have been training developers for over 35 years through books, videos, article, blog posts, and international conferences and user groups.

*Paul.Contact()*
YouTube Channel: @pauldsheriff
Рекомендации по теме
visit shbcf.ru