Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: new HTTP client package #23707
Tracking bug for higher-level more usable HTTP client functionality.
I thought we had a bug for this, but maybe not.
referenced this issue
Feb 5, 2018
This is a pattern in a test client I wrote:
Are you looking at adding new identifiers?
We wrote a wrapper for the http client internally that uses the
GET with parameters:
POST with body:
Mocking the HTTP request:
This has greatly simplified our error handling/json marshaling.