(path string, payload interface{})
| 468 | } |
| 469 | |
| 470 | func (c *simpleClient) PostJSON(path string, payload interface{}) (*simpleResponse, error) { |
| 471 | return c.jsonRequest("POST", path, payload, nil) |
| 472 | } |
| 473 | |
| 474 | func (c *simpleClient) PostJSONPreview(path string, payload interface{}, mimeType string) (*simpleResponse, error) { |
| 475 | return c.jsonRequest("POST", path, payload, func(req *http.Request) { |
no test coverage detected