August 2025
Intermediate to advanced
294 pages
5h 49m
English
So far, we have seen what a REST API is and how to explore it, but the whole point of an API is to interact with it. For that, you need to build a client to make API requests and process the responses.
In this chapter, we will explore building a REST client in Go using only the standard library. Go is an excellent language for this task because it comes with the batteries included, and the standard library has everything you need to build a REST client.
As part of the exploration, we are going to cover the following:
For this chapter, we need the Go compiler installed in your system.
The http package
Read now
Unlock full access