We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn HTTP Clients in TypeScript

Call real APIs, parse JSON, handle errors, and make HTTP feel boring in TypeScript.

Also available in:

gopython

What will you learn?

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.

Chapter List

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

Join 16,404 students in the Learn HTTP Clients in TypeScript course

Read reviews of their learning experiences

Awesome course very well structured

(5/5)
Mitarth Pandey profile image

Mitarth Pandey

India

Great introduction to working with APIs!

(5/5)
Pedro Laracuente profile image

Pedro Laracuente

Dominican Republic

best!!!!!!!!!!!!

(4/5)
Priyanshu  profile image

Priyanshu

India

Quite a fun, short course. Would recommend to anyone who wants to build a development team.

(5/5)
Baggers  profile image

Baggers

United Kingdom

perfect!

(5/5)
I Putu Bagus Widia Predana profile image

I Putu Bagus Widia Predana

Indonesia

Perfect!

(5/5)
pvdpvtrs iTron profile image

pvdpvtrs iTron

Piacenza, Italy

I enjoyed the course, but I wish there was guidance for the validation question.

(5/5)
Shehu Muhammad profile image

Shehu Muhammad

New Haven, CT

This course did an excellent job of introducing and explaining HTTP clients in an accessible and understandable way.

(5/5)
Ben H profile image

Ben H

United States

Always exemplary course material

(5/5)
R K profile image

R K

Eagle, US

Showing 1-9 of 94

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.