8 Writing HTTP Clients
The HyperText Transfer Protocol(HTTP) is an application layer protocol used by the World Wide Web. In an HTTP communication, a web client sends a uniform resource locator(URL) to a web server, and the web server responds with the corresponding media resources. In this context, a resource could be an image, a style sheet, an HTML document, a JavaScript file, and so on. For example, if your web browser sent the URL www.google.com to Google’s web servers, the servers would return Google’s main page. Most of us make such web transactions daily, whether they originate from our phones, computers, or Internet of Things (IoT) ...
Get Network Programming with Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.