This video is about calling an existing WEB API from a C# application.
You will learn to use the HttpClient class to retrieve new releases from Spotify using their Web API.
Source code : https://github.com/techwithpat/ConsumeSpotifyWebAPI
Buy me a coffee: https://www.buymeacoffee.com/itsmepatrick
Subscribe: https://www.youtube.com/c/TechWithPat?sub_confirmation=1
🕑 Timestamp:
00:00 Introduction
00:49 Register the application with Spotify
01:21 Create an ASP.NET Core MVC app
02:12 Request access token from Spotify Account Service
08:24 Test requesting an access token
08:43 Request new release from Spotify Web API
12:54 Test requesting new releases
13:01 Display new releases in the Home View
14:10 Test the displaying of new releases in Home view
14:16 Outro
Make HTTP requests using IHttpClientFactory in ASP.NET Core :
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-5.0
Use IHttpClientFactory to implement resilient HTTP requests:
https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests
This video might interest you :
How to create a Web API with ASP.NET Core: https://youtu.be/sWJayOop4k8
🌎 Where to find me:
° Github: https://github.com/techwithpat
° LinkedIn: https://www.linkedin.com/in/patrick-tshibanda-431017135/
#webapi #tutorial