Imports github.com/juju/errors Standard library imports bytes crypto/tls encoding/json fmt io/ioutil net/http net/url