// --------------------------------------------------------------- // // http_get.go // // Feb/24/2020 // --------------------------------------------------------------- package main import ( "fmt" "io/ioutil" "net/http" ) // --------------------------------------------------------------- func main() { fmt.Printf ("*** 開始 ***\n") url_target := "https://httpbin.org/get" res, err := http.Get(url_tar
![Golang の http クライアントの使い方 (Get) - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/633f79a74a9b0d6004a6d36b098b73a13926ad2a/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-9f5428127621718a910c8b63951390ad.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTkxNiZoPTMzNiZ0eHQ9R29sYW5nJTIwJUUzJTgxJUFFJTIwaHR0cCUyMCVFMyU4MiVBRiVFMyU4MyVBOSVFMyU4MiVBNCVFMyU4MiVBMiVFMyU4MyVCMyVFMyU4MyU4OCVFMyU4MSVBRSVFNCVCRCVCRiVFMyU4MSU4NCVFNiU5NiVCOSUyMCUyOEdldCUyOSZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnR4dC1jbGlwPWVsbGlwc2lzJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9MzA4MzY2N2Q1M2M3MjY0ZmQ0MjBmM2RmYzY0ZTgyNWQ%26mark-x%3D142%26mark-y%3D112%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTcxNiZ0eHQ9JTQwZWt6ZW1wbGFybyZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTMyJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9ZDA4NTllMDg5YjlmMTVjYmU4YWEwYWM0ZDg4YzgzZTk%26blend-x%3D142%26blend-y%3D491%26blend-mode%3Dnormal%26s%3D24e5e4d6f1de0e4296c4b02b85efab03)