github.com/scootpl/restreq (go): RestReq is a wrapper around standard Go net/http client. In a simple call you can use json encoding, add headers and parse result. This should be sufficient in most use cases.  - Simplest use  - You can add a header  - Use map with JSON payload  - JSON payload with KV  - In the default behavior, the body of the response is copied to Response.Body, and you don't have to call http.Response.Body.Close()  - Default behavior is convenient but not optimal, due to redundant copying. If you need high performance, you can disable this behavior and direct access to the io.Reader. Don't forget to call Response.Body.Close()  - Get header value  - Decode JSON
Keywords: go|golang|http|http-client|microservices|middleware|rest-api