import requests
import json


def get_response(url, headers):
    """
    Gets the report response from the API
    """
    response = requests.request("GET", url, headers=headers)
    response_dict = json.loads(response.text)
    return response_dict