Course of Raku / Functional, concurrent, reactive, and web programming / Web programming
A simple HTTP client
An HTTP client fetches pages and data from web servers. At bottom it is just the socket work of the previous section, wrapped in the rules of the HTTP protocol: send a request, read a response.
This section shows how to make an HTTP request by hand with a core socket, and then how a dedicated client module makes the same job a one-liner. As before, these examples need a network connection, and the module-based one needs a module you install.
Topics in this section
Practice
Complete the quiz that covers the contents of this section.
Exercises
This section contains 2 exercises. Examine all the topics of this section before doing the coding practice.