import requests
from bs4 import BeautifulSoup


def get_request(url_to_connect):
    """
    Send a get request to the server and receive a response back

    :param url_to_connect: (string) a link to connect to a sever
    :return: a BeautifulSoup object
    """
    resp = requests.get(url_to_connect)
    soup = BeautifulSoup(resp.text, 'html.parser')
    return soup