GET Requests - Rest APIs In Depth

Published: 03 November 2023
on channel: 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  


Watch video GET Requests - Rest APIs In Depth online without registration, duration hours minute second in high quality. This video was added by user Tech with Nader 03 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,24 once and liked it 4 people.