Skip to content

Commit

Permalink
Merge branch 'master' into fix-allow-get-method-payload
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Mar 6, 2023
2 parents 3546a3b + 45d9f8b commit 0f75cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ func (r *Request) Patch(url string) (*Response, error) {
// req := client.R()
// req.Method = resty.GET
// req.URL = "http://httpbin.org/get"
// resp, err := client.R().Send()
// resp, err := req.Send()
func (r *Request) Send() (*Response, error) {
return r.Execute(r.Method, r.URL)
}
Expand Down

0 comments on commit 0f75cb5

Please sign in to comment.