Skip to content

Commit

Permalink
Docs: Note that Post is mostly redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
earthboundkid committed May 22, 2023
1 parent 7461444 commit 9b04e9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builder_extras.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ func (rb *Builder) Head() *Builder {
}

// Post sets HTTP method to POST.
//
// Note that setting a Body causes a request to be POST by default.
func (rb *Builder) Post() *Builder {
return rb.Method(http.MethodPost)
}
Expand Down

0 comments on commit 9b04e9e

Please sign in to comment.