Using HTTP, create a Python program to make a request to an API endpoint and receive a response.
import requests

url = 'https://api.example.com/endpoint'
response = requests.get(url)

data = response.json()