(
path string,
requestBody interface{},
responseBody interface{},
)
| 91 | } |
| 92 | |
| 93 | func (c *client) Post( |
| 94 | path string, |
| 95 | requestBody interface{}, |
| 96 | responseBody interface{}, |
| 97 | ) ( |
| 98 | int, |
| 99 | error, |
| 100 | ) { |
| 101 | return c.request( |
| 102 | http.MethodPost, |
| 103 | path, |
| 104 | requestBody, |
| 105 | responseBody, |
| 106 | ) |
| 107 | } |
| 108 | |
| 109 | func (c *client) requestURL( |
| 110 | method string, |