Convert io.ReadCloser to a String
·
126 words
·
1 minute read
Net/http is an amazing package but there are times you need to work with the body text of the response returned from the call you just made. Many functions require a string as input so we have to convert it first by passing it through a buffer.
|
|