prueba

package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "http://sandbox.grupozoom.com/baaszoom/public/canguroazul/getInfoTracking?tipo_busqueda=1&codigo=71090585&codigo_cliente=407940" method := "GET" client := &http.Client { } req, err := http.NewRequest(method, url, nil) if err != nil { fmt.Println(err) return } res, err := client.Do(req) if err != nil { fmt.Println(err) return } defer res.Body.Close() body, err := ioutil.ReadAll(res.Body) if err != nil { fmt.Println(err) return } fmt.Println(string(body)) }