Simple Web Server - Rest APIs In Depth

Опубликовано: 20 Сентябрь 2023
на канале: Tech with Nader
1,372
56

Let's start building our very first web server in Deno together!

We start with an overview of what we're trying to build right before diving in to the code where we use the Deno.serve API to create our first server.

We test out our server in Chrome and Insomnia and look at the HTTP Headers, as well as the Request and Response Objects in detail.

To wrap thing up, we look at the different MIME Types that allow us to specify what kind of content we are sending to our clients. We see an example of this with an HTML file that we serve to test in both Chrome and Insomnia.

In the exercises following this video, we'll look at some more examples as well.

Chapters:
00:00 Introduction
00:35 Backend Overview
02:02 Request Response Visual
04:08 Deno Server Code
18:35 Inspecting HTTP Headers
22:06 Request and Response Objects
28:37 MIME Types
33:09 Serving an HTML File
40:10 Changing Response Headers
43:20 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  


Смотрите видео Simple Web Server - Rest APIs In Depth онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech with Nader 20 Сентябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,37 раз и оно понравилось 5 людям.