input: Write a function to edit the given Python program to make a correct API request and parse the response. The function should accept a URL and an API token, modify the request with the necessary headers, send the request, and then parse and print the response data.
  assert api_request('https://api.example.com/users', 'YOUR_API_TOKEN') == None
  assert api_request('https://api.example.com/books', 'ANOTHER_API_TOKEN') == None
output: def api_request(url, api_token):
      import requests
      headers = {'Authorization': f'Bearer {api_token}'}
      response = requests.get(url, headers=headers)
      if response.status_code == 200:
          data = response.json()
          print(data)