req
req copied to clipboard
Unmarshal should check error by status-code as well.
For status code (500) - resp.Err was nil resp.Status was 500 INTERNAL SERVER ERROR
Do(...).Into() was failing to unmarshal