input: Write a function to complete the following task: Edit the given Python program to make a correct API request and parse the response. The function should add necessary headers for authorization and content type, and print each user from the response's data array.
  
  def api_request_and_parse():
      import requests
  
      url = 'https://api.example.com/users'
  
      headers = {
          'Authorization': 'Bearer YOUR_API_TOKEN',
          'Content-Type': 'application/json',
      }
  
      response = requests.get(url, headers=headers).json()
  
      for user in response['data']:
          print(user)
  
  assert api_request_and_parse().print_output==['user1', 'user2']
output: def api_request_and_parse():
      import requests
  
      url = 'https://api.example.com/users'
  
      headers = {
          'Authorization': 'Bearer YOUR_API_TOKEN',
          'Content-Type': 'application/json',
      }
  
      response = requests.get(url, headers=headers).json()
  
      for user in response['data']:
          print(user)