Post queries the configured endpoint with the path, sending the requestBody and providing the response in the responseBody structure. It returns the HTTP status code and any potential errors.
(
path string,
requestBody interface{},
responseBody interface{},
)
| 29 | // Post queries the configured endpoint with the path, sending the requestBody and providing the |
| 30 | // response in the responseBody structure. It returns the HTTP status code and any potential errors. |
| 31 | Post( |
| 32 | path string, |
| 33 | requestBody interface{}, |
| 34 | responseBody interface{}, |
no outgoing calls