MCPcopy Index your code
hub / github.com/larksuite/cli / Body

Method Body

internal/cmdutil/dryrun.go:69–74  ·  view source on GitHub ↗

Body sets the request body on the last added call.

(body interface{})

Source from the content-addressed store, hash-verified

67
68// Body sets the request body on the last added call.
69func (d *DryRunAPI) Body(body interface{}) *DryRunAPI {
70 if n := len(d.calls); n > 0 {
71 d.calls[n-1].Body = body
72 }
73 return d
74}
75
76// Params sets query parameters on the last added call.
77func (d *DryRunAPI) Params(params map[string]interface{}) *DryRunAPI {

Callers 15

PrintDryRunWithFileFunction · 0.95
PrintDryRunFunction · 0.95
TestDryRunAPI_WithBodyFunction · 0.80
markdownUploadDryRunFunction · 0.80
markdownOverwriteDryRunFunction · 0.80
markdown_create.goFile · 0.80
markdown_patch.goFile · 0.80
vc_search.goFile · 0.80
vc_meeting_join.goFile · 0.80

Calls

no outgoing calls

Tested by 1

TestDryRunAPI_WithBodyFunction · 0.64