input: Write a function to edit the given Python program to make a correct API request with proper headers and parse the response. The function should print each user from the response data after adding the required authorization token and content type to the headers.
  assert edit_api_request([
   {'name': 'Alice', 'id': 1},
   {'name': 'Bob', 'id': 2},
   {'name': 'Charlie', 'id': 3}
  ])==['Alice', 'Bob', 'Charlie']
  assert edit_api_request([])==[]
  assert edit_api_request([
   {'name': 'Eve', 'id': 4}
  ])==['Eve']
  assert edit_api_request([
   {'name': 'Dan', 'id': 5},
   {'name': 'Frank', 'id': 6}
  ])==['Dan', 'Frank']
  assert edit_api_request([
   {'name': 'Grace', 'id': 7},
   {'name': 'Heidi', 'id': 8},
   {'name': 'Ivan', 'id': 9},
   {'name': 'Judy', 'id': 10}
  ])==['Grace', 'Heidi', 'Ivan', 'Judy']
output: def edit_api_request(users):
      headers = {
          'Authorization': 'Bearer your_token_here',
          'Content-Type': 'application/json'
      }
      for user in users:
          print(user['name'])
      return [user['name'] for user in users]