# post

Send a POST request to the provided Rubrik Mosaic API endpoint.

```python
def post(api_endpoint, config, timeout=15)
```

## Arguments

| Name          | Type | Description                                                    | Choices |
| ------------- | ---- | -------------------------------------------------------------- | ------- |
| api\_endpoint | str  | The endpoint of the Rubrik Mosaic API to call (ex. /listjobs). |         |

## Keyword Arguments

| Name    | Type | Description                                                                                                         | Choices | Default |
| ------- | ---- | ------------------------------------------------------------------------------------------------------------------- | ------- | ------- |
| timeout | int  | The number of seconds to wait to establish a connection the Rubrik Mosaic cluster before returning a timeout error. |         | 15      |

## Returns

| Type | Return Value                       |
| ---- | ---------------------------------- |
| dict | The response body of the API call. |

## Example

```python
import rubrik_mosaic

mosaic = rubrik_mosaic.Connect()

mosaic.post('/retrieve', '{}')
```
