Find the perfect coding resourcesLearn more

Learn HTTP Clients in TypeScript

Boot.devBoot.dev
Recommended
Meet Your Instructor
Lane Wagner avatar

Lane Wagner

Instructor

Lane is a back-end engineer and the lead instructor of Boot.dev. He has taught over one million students worldwide, on Boot.dev, FreeCodeCamp, YouTube and the Backend Banter podcast. Lane worked as a backend engineer writing Go, Python and TypeScript, then moved into engineering management and a couple of years later left to build Boot.dev full-time.

14 hours

Completion

Certificate included

Format

Interactive coding

Freemium

What You'll Learn

Make HTTP requests in TypeScript to interact with APIs

Handle and parse JSON responses effectively

Implement error handling in TypeScript for HTTP requests

Add custom headers and manage authorization in API calls

Understand and utilize different HTTP methods like GET, POST, PUT, and DELETE

Overview

Learn the backbone of the modern web: HTTP network communications. You will be writing real HTTP requests in TypeScript, then parsing and displaying the responses. Each challenge in this course is part of a larger application so that you will understand how HTTP is used in the real world.

Table of Contents
1
Why HTTP?

Learn about HTTP and how it powers the majority of web communication

2
DNS

Learn about domain names and how they map human-readable names to physical servers

3
URIs

Understand URIs and URLs at a deeper level

4
Errors

Learn how to handle errors in TypeScript

5
Headers

Practice adding custom headers to HTTP requests and learn about authorization

6
JSON

Learn one of the most popular data formatting notations in the programming world

7
Methods

Learn about GET, POST, PUT, and DELETE requests

8
Paths

Learn how URL paths and query parameters relate to typical HTTP requests

9
HTTPS

Learn how to encrypt HTTP requests and keep them secure

10
Runtime Validation

Learn runtime validation for HTTP responses using Zod to ensure type safety when working with external APIs

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!