We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6ed8f commit 024c113Copy full SHA for 024c113
content/A-client-http-request-simple.md
@@ -36,7 +36,7 @@ func fetchUsers() ([]student, error) {
36
var client = &http.Client{}
37
var data []student
38
39
- request, err := http.NewRequest("POST", baseURL+"/users", nil)
+ request, err := http.NewRequest("GET", baseURL+"/users", nil)
40
if err != nil {
41
return nil, err
42
}
0 commit comments