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

Learn HTTP Clients in TypeScript

Learn how to use HTTP in TypeScript to interact with APIs and the web. Make requests, handle responses, and use a JSON API.

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 15,928 students in the Learn HTTP Clients in TypeScript course

Read reviews of their learning experiences

Always exemplary course material

(5/5)
R K profile image

R K

Eagle, US

Typescript has a very elegant way of fetching and parsing data over HTTP, knowing how this works will save a ton of time.

(4/5)
Mike Meyer profile image

Mike Meyer

Los Angeles, USA

nice and concise course, recommended : )

(5/5)
Alex Herrera profile image

Alex Herrera

Chile

Good course on http requests

(5/5)
Michiel Peeraer profile image

Michiel Peeraer

Belgium

Great course going over the strengths of typescript in the frontend client!

(5/5)
M P profile image

M P

Somewhere

The course helped me understand the fetch API even better.

(5/5)
Kiro Lakestrike profile image

Kiro Lakestrike

Germany

10/10. It teaches HTTP concepts from first principles.

(5/5)
Musa Abdulrofihi profile image

Musa Abdulrofihi

Nigeria

Very clear and practical introduction to the use of TypeScript in the world of HTTP clients… next: servers! :)

(5/5)
Geoff Riley profile image

Geoff Riley

Warrington, England

Great introduction to Web, HTTP, and RESTful Api.

(5/5)
Akshell  profile image

Akshell

France

Showing 1-9 of 86

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.