An implementation of a HTTP web server in C.
Caution
Not intended for actual use. Only intended for educational purposes.
I use this repo to learn a bit about the C programming language. I also wanted to learn a bit about web servers and the HTTP/1.1 protocol as described in RFC 7230.
- Listen for requests on port 8080
- Save a string to memory using a POST request
- Send a response
That's it :)
- Listen for requests and write a response
- Actually parse the HTTP headers
- Respond in different ways depending on the route or HTTP method (GET/POST)