input: Write a function to edit the given Python program to make a correct API request and parse the response, adding the necessary headers for authorization and content type. The function should return the parsed JSON response and print each user from the response. If the response is empty or has no 'data' key, the function should return an empty list.
  assert make_api_request('https://api.example.com/users', 'Bearer YOUR_API_TOKEN')==[<user1_dict>, <user2_dict>, ...]
  assert make_api_request('https://api.example.com/empty', 'Bearer YOUR_API_TOKEN')==[]
  assert make_api_request('https://api.example.com/users', '')==[]
  assert make_api_request('', 'Bearer YOUR_API_TOKEN')==[]
output: import requests
  
  def make_api_request(url, token):
      if not url or not token:
          return []
      headers = {
          'Authorization': token,
          'Content-Type': 'application/json'
      }
      response = requests.get(url, headers=headers)
      if response.status_code != 200 or 'data' not in response.json():
          return []
      users = response.json()['data']
      for user in users:
          print(user)
      return users