Skip to content

Commit

Permalink
Fix Send() documentation code
Browse files Browse the repository at this point in the history
  • Loading branch information
lordzsolt authored and jeevatkm committed Mar 6, 2023
1 parent 313f419 commit a90dc90
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 a90dc90

Please sign in to comment.