MCPcopy
hub / github.com/gin-gonic/gin / requestWithBody

Function requestWithBody

binding/binding_test.go:1431–1434  ·  view source on GitHub ↗
(method, path, body string)

Source from the content-addressed store, hash-verified

1429}
1430
1431func requestWithBody(method, path, body string) (req *http.Request) {
1432 req, _ = http.NewRequest(method, path, bytes.NewBufferString(body))
1433 return
1434}

Callers 15

TestValidationFailsFunction · 0.85
TestValidationDisabledFunction · 0.85
TestRequiredSucceedsFunction · 0.85
TestRequiredFailsFunction · 0.85
TestHeaderBindingFunction · 0.85
testFormBindingFunction · 0.85
testFormBindingForTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected