MCPcopy Create free account
hub / github.com/imroc/req / SetBodyJsonString

Function SetBodyJsonString

request_wrapper.go:323–325  ·  view source on GitHub ↗

SetBodyJsonString is a global wrapper methods which delegated to the default client, create a request and SetBodyJsonString for request.

(body string)

Source from the content-addressed store, hash-verified

321// SetBodyJsonString is a global wrapper methods which delegated
322// to the default client, create a request and SetBodyJsonString for request.
323func SetBodyJsonString(body string) *Request {
324 return defaultClient.R().SetBodyJsonString(body)
325}
326
327// SetBodyJsonBytes is a global wrapper methods which delegated
328// to the default client, create a request and SetBodyJsonBytes for request.

Callers

nothing calls this directly

Calls 2

SetBodyJsonStringMethod · 0.80
RMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…