def create_response(code: int, body: str) -> dict:
    """
    Creates a JSON response for HTTP.

    Args:
        code (int): The HTTP status code
        body (str): The HTTP body as a string

    Returns:
        (dict): JSON HTTP response
    """
    return {
            'headers': {
                'Content-Type': 'text/html'
                },
            'statusCode': code,
            'body': body
            }