Module

Build An HTTP Server with Rust

2 tutorials
intermediate

Have you ever wondered what it’s like to write your own HTTP server in Rust?

Fear not because in this campaign, you will experience that Rust with its standard library alone can allow you to write your own HTTP server.

You will be able to know how to run a basic static server. Then we will ramp up the difficulty by challenging you to finish the incomplete file server code!

For technical help on the StackUp platform & quest-related questions, join our Discord, head to the 🆘 | quest-help-forum channel and look for the correct thread to ask your question.

Helpful prior knowledge

It’s important to finish the Rust Pathway to acquire the prerequisites:


Learning Outcomes

By the end of this campaign, you will be able to:

  • Know more crates from the standard library
  • Know basic ideas of how a server works
  • Apply TCP/HTTP code from standard library to create a static HTTP server
  • Transform or parse an HTTP request path to create an HTTP response
Oops, you are not logged in!

Please log in to view this page, and provide additional information required (if any) to unlock the full experience on Learn.