Send data to the Clowder API.

    :param data: Dictionary of API data
    :type data: dict

def _send(data):
    """Send data to the Clowder API.

    :param data: Dictionary of API data
    :type data: dict
    """
    url = data.get('url', CLOWDER_API_URL)

    _validate_data(data)

    if api_key is not None:
        data['api_key'] = api_key

    if 'value' not in data:
        data['value'] = data.get('status', 1)

    if 'frequency' in data:
        data['frequency'] = _clean_frequency(data['frequency'])

    try:
        requests.post(url, data=data, timeout=TIMEOUT).text

    # This confirms you that the request has reached server
    # And that the request has been sent
    # Because we don't care about the response, we set the timeout
    # value to be low and ignore read exceptions
    except requests.exceptions.ReadTimeout as err:
        pass

    # Allow a wildcard expection for any other type of processing error
    except requests.exceptions.RequestException as err:
        logging.error('Clowder expection %s', err)