14. Retrieving Data (Books) From Web API with [HttpGet]

preview_player
Показать описание
======================================
=====================================

✅ HTTP (Hypertext Transfer Protocol) is a method for encoding and transporting information between a client and a web server
✅ [HttpGet] is used to get data from a server/database
✅ [HttpGet("{id}")] is used to get data from a Web API using a parameter that is passed with the request URL.

===================================
You can also watch my courses on:
===================================

#aspnetcore​ #webapi​ #httget​ #requestbody​ #entityframework​ #entityframeworkcore #aspnetcorewebapi

0:00 - Introduction
0:21 - Adding Service Methods
3:22 - Add API Endpoints To Get Data
5:51 - API Testing with Swagger
Рекомендации по теме
Комментарии
Автор

Hi. Are you planning to do a nested Get/Post in the future? Maybe with a list (grocery list, JS to add a new field and how to add/remove/edit those fields)? All tutorials end with the simplest thing but when a person tries to do something more complicated like Book with Author from another table, so [Books: ID=1, Genre=Biography, Author=4], then in table [Authors: ID=4, Name=Jules Werne, Country=5] and in table [Countries: ID=5, Name=France]. You certainly catch my drift. And not only "how to do that" but "best practices" would be enormously helpful.

songokussjcz
Автор

nice seo work. i am searching completely diffrent thing and i get this video :(

ferdicuyar
welcome to shbcf.ru