Elliot Forbes | Duration: 0:37 h | Video: H264 3840x2160 | Audio: AAC 48 kHz 2ch | 393 MB | Language: English
If you are developing an API or a SaaS-offering, the chances are you will eventually want to build out some form of HTTP client that consumers of your API can easily import and use in order to make their own lives easier.
There are quite a few examples of this in the wild - this site for example, uses the Stripe to process payments and, instead of me crafting the exact JSON HTTP requests and ensuring the right headers are sent etc, I use an their handy go-stripe package which helps to offload some of the complexities of directly interfacing with their systems.
The reason that they do this is quite simple. They want me to be successful when developing applications on-top of their world-class payment processing system. As such, they want to make it as simple as heavenly possible for me to be successful.