I writing appengine by golang. I success http.Get in go, but appengine can’t using http.Get ?
response, err := http.Get(url)
if err != nil {
log.Infof(c, “error url”)
} else {
defer response.Body.Close()
contents, err := ioutil.ReadAll(response.Body)
if err != nil {
log.Infof(c, "Error read body ")
//fmt.Println(err)
}
}
amanuel2
(Amanuel Bogale)
2
What are you asking? Your own appegnine cant use http.Get function?
calmh
(Jakob Borg)
3
Indeed, you need to use urlfetch on the GAE.
2 Likes
system
(system)
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.