HTTP with Node.js

HTTP with Node.js

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 0h 56m | 123 MB

This course will teach you how to work with one of the most important components of Node.js, the HTTP module. You will gain practical knowledge that will serve as a foundation for building any web-based application.

Node.js is a perfect fit for a wide variety of applications. The HTTP module acts as a backbone for these applications by providing the functionality needed to create servers and interface with the web. In this course, HTTP with Node.js, you will gain the knowledge you need to implement Node’s powerful, built-in HTTP module in any application. First, you will learn about the request and response objects and how to work with streamed data. Next, you will explore URL handling, managing file uploads, working with authentication headers, and how to make requests to external APIs. Finally, you will delve into some common libraries offered by the community that help make development a breeze. By the end of this course, you will have the skills and knowledge needed to start building your own web applications with Node.js.

Table of Contents

Course Overview
1 Course Overview

Managing HTTP Requests
2 Introduction
3 Creating Your First Server
4 The Anatomy of the HTTP Module
5 Working with the HTTP Method, Headers, and URL
6 Working with the Request Body
7 The “body” Package
8 How About HTTPS
9 Summary

Managing HTTP Responses
10 Working with Status Codes and Headers
11 Responding with JSON
12 The Benefits of Streamed Data
13 Handling Errors
14 Summary

Handling File Uploads with Formidable
15 What Is Formidable
16 Handling File Uploads with a Callback
17 Configuring Formidable
18 Handling File Uploads with Events
19 Summary

Making External API Requests
20 Making a GET Request
21 Making a POSTPUTDELETE Request
22 Working with Auth Headers
23 The “request” Package
24 Summary