MCPcopy
hub / github.com/livebud/bud / PostRequest

Method PostRequest

internal/testcli/testcli.go:411–413  ·  view source on GitHub ↗
(path string, body io.Reader)

Source from the content-addressed store, hash-verified

409}
410
411func (c *Client) PostRequest(path string, body io.Reader) (*http.Request, error) {
412 return http.NewRequest(http.MethodPost, getURL(path), body)
413}
414
415func (c *Client) Patch(path string, body io.Reader) (*Response, error) {
416 c.log.Debug("testcli: patch request %q", path)

Callers 5

PostMethod · 0.95
PostJSONMethod · 0.95
TestRedirectBackFunction · 0.80
TestNewControllerAllFunction · 0.80
TestNewControllerAllRootFunction · 0.80

Implementers 2

discardpackage/budhttp/discard.go
clientpackage/budhttp/client.go

Calls 1

getURLFunction · 0.85

Tested by 3

TestRedirectBackFunction · 0.64
TestNewControllerAllFunction · 0.64
TestNewControllerAllRootFunction · 0.64