SetBody is a global wrapper methods which delegated to the default client, create a request and SetBody for request.
(body any)
| 303 | // SetBody is a global wrapper methods which delegated |
| 304 | // to the default client, create a request and SetBody for request. |
| 305 | func SetBody(body any) *Request { |
| 306 | return defaultClient.R().SetBody(body) |
| 307 | } |
| 308 | |
| 309 | // SetBodyBytes is a global wrapper methods which delegated |
| 310 | // to the default client, create a request and SetBodyBytes for request. |