GET Requests - Rest APIs In Depth

preview_player
Показать описание
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

Рекомендации по теме
Комментарии
Автор

This is the most comprehensive, intuitive and effective YouTube channel I know when it comes to learning and re-learning JavaScript. Thank you a lot, Nader :)
I hope you come back soon with new related content. Maybe topics like TypeScript, Node or even Next.js.

randerins
Автор

I was waiting eagerly for your lecture

ahmadkakarr
Автор

Hi Nader. Will you be going to teach Node JS next?

Proton_uio
Автор

hello, in my browser when I type '?country=Italy' browser turns it into '?country=italy', so filteredUsers dont find out, how can I prevent my browser from changing letters' size?

gijbfhjm
Автор

Hi, will you use oak library next videos?

amalmurikkoli
Автор

Hello, how is the job market in Canada for frontend developers without work experience and self-taught people without a university degree?

djjordis