Skip to content

Commit

Permalink
Merge pull request #1 from mananispiwpiw/mananispiwpiw-patch-1
Browse files Browse the repository at this point in the history
Update A-client-http-request-simple.md
  • Loading branch information
mananispiwpiw authored Aug 27, 2023
2 parents 9c6ed8f + 024c113 commit 9921fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/A-client-http-request-simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func fetchUsers() ([]student, error) {
var client = &http.Client{}
var data []student

request, err := http.NewRequest("POST", baseURL+"/users", nil)
request, err := http.NewRequest("GET", baseURL+"/users", nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9921fad

Please sign in to comment.