GET Requests - Rest APIs In Depth

Опубликовано: 03 Ноябрь 2023
на канале: Tech with Nader
1,240
48

Let's learn about how the GET HTTP method works in the context of a REST API.

We start with an overview of what a GET request is and how it related to our API. Then we get in to how we would get all of a specific resource through a route that we then build together in Deno.

Following this, we look at how we'd get a single resource as well as the code for this in Deno as well. We then add how we can add search parameters to our URL and inspect them on the server to narrow down the query and be more granular in the search we're doing.

To wrap up the video we look at an overview of how nested/related resource fetching might work, as well as general ideas when thinking about REST API Design at a high level.

Chapters:
00:00 Introduction
01:17 GET Request Overview
05:11 GET All Resources
07:47 Get All Resources Code
22:11 GET Single Resource
24:43 GET Single Resource Code
44:20 URL Search Parameters
48:58 URL Search Parameters Code
1:01:04 GET Nested Resources
1:02:54 Rest API Design
1:07:47 Next Steps

📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/rest-api-in...

💬 Come join us on Discord to chat with a like-minded community about tech and learning:   / discord  

🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon:   / techwithnader  


Смотрите видео GET Requests - Rest APIs In Depth онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech with Nader 03 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,24 раз и оно понравилось 4 людям.