Pick the right HTTP Verb for the WebAPI | .NET fullstack dev - 010

Опубликовано: 08 Октябрь 2024
на канале: Code with Saar
107
7

🍿 Learn to build a RESTful API with ease using ASP.NET Core technology. This video is the third in a series on building a backend and will show common HTTP Methods and how to use them in a web API.

🐠 See the live site at: https://fishcard.codewithsaar.net.

🏠 Connect with me through my page: https://www.codewithsaar.com

➡️ Reach me on Twitter @SaarShen.
➡️ Or if you are only interested in channel content: @CodeWithSaar.

For more videos like this:

💡Subscribe to my channel - https://www.youtube.com/CodewithSaar?....

🧩 Resources

📺 Demo code: https://github.com/xiaomi7732/LearnWe...

💬 Discord server for Code w/ Saar:   / discord  

🔖 Chapters

00:00 Intro
00:55 Overview - Safe, idempotent and cacheable
04:13 5 common HTTP verbs
05:21 Data Operations - CRUD
06:48 Map CRUD to HTTP methods
07:33 POST vs PUT
09:29 PUT vs PATCH
11:00 Prepare to code
11:00 Create a GET action to read fish
14:08 Create a POST action to create fish items
16:05 Testing a WebAPI