Have you ever called a REST API from your Go program? Did you implemented your own HTTP client or did you ended up using some of the thousand libraries out there? Do you know what your HTTP client is doing in the background?
In this course we’re starting from scratch! We’re going to remember how a basic HTTP call looks like by digging into the request & response objects. We’re going to write a basic HTTP client to perform HTTP requests and then use it in productive applications. What issues do we have? Can we scale our applications by following this approach? Of course not! That’s why we’re creating an HTTP client library that provides:
Fast, reliable and friction–free HTTP connections.
Support for all HTTP methods: GET, POST, PUT, DELETE, PATCH and more!
A Concurrency–Safe HTTP client that you can use without worrying about performance.
Content type management and optimization.
Mocking features out of the box.
A clean interface in case you want to unit test your code without relying on integration testing features.
A robust implementation so you won’t need any external dependency whatsoever.
Completely customizable interface: timeouts, transport layer, custom HTTP client and lots of useful features.
A library that is PRODUCTION–READY!
Specification: How to develop a productive HTTP client in Golang (Go)
19 reviews for How to develop a productive HTTP client in Golang (Go)