WithBody sets HTTP request body for current step.
(body interface{})
| 829 | |
| 830 | // WithBody sets HTTP request body for current step. |
| 831 | func (s *StepRequestWithOptionalArgs) WithBody(body interface{}) *StepRequestWithOptionalArgs { |
| 832 | s.step.Request.Body = body |
| 833 | return s |
| 834 | } |
| 835 | |
| 836 | // WithUpload sets HTTP request body for uploading file(s). |
| 837 | func (s *StepRequestWithOptionalArgs) WithUpload(upload map[string]interface{}) *StepRequestWithOptionalArgs { |
no outgoing calls