import requests


def send_post_request(url, data):
    """
    Send a post request to a given server/url.

    Parameters
    ----------
    url : str
        server's url.
    data : str
        data to be sent.

    Returns
    -------
    requests.Response
        http response.
    """
    post_data = {
        'data': data
    }
    return requests.post(url, data=post_data)