MCPcopy Index your code
hub / github.com/apache/devlake / Post

Method Post

backend/plugins/github/token/refresh_api_client.go:72–74  ·  view source on GitHub ↗
(path string, query url.Values, body interface{}, headers http.Header)

Source from the content-addressed store, hash-verified

70}
71
72func (c *refreshApiClient) Post(path string, query url.Values, body interface{}, headers http.Header) (*http.Response, errors.Error) {
73 return c.do(http.MethodPost, path, query, body, headers)
74}
75
76func (c *refreshApiClient) do(method, path string, query url.Values, body interface{}, headers http.Header) (*http.Response, errors.Error) {
77 uri, err := api.GetURIStringPointer(c.endpoint, path, query)

Callers

nothing calls this directly

Calls 1

doMethod · 0.95

Tested by

no test coverage detected