(path string, query url.Values, body interface{}, headers http.Header)
| 70 | } |
| 71 | |
| 72 | func (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 | |
| 76 | func (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) |