Imports github.com/juju/errgo Standard library imports bytes encoding/json io io/ioutil net/http strings