def get_message(r):
    """
    Returns status code and message

    :param r: Reponse from request
    :return: Status code and message (String)
    """
    text = r.json()['message']
    message= str(r.status_code) + " - " + text
    return message