input: Write a python function to call an API method using Flask and return the JSON response.
  assert api_call() == {'key1': 'value1', 'key2': 'value2'}
  assert api_call() == {'keyA': 'valueA', 'keyB': 'valueB'}
  assert api_call() == {'data': 'sample'}
output: from flask import Flask, jsonify
  import requests
  
  app = Flask(__name__)
  
  def api_call():
      response = requests.get('https://api.example.com/data')
      return response.json()
  
  @app.route('/api_call')
  def api_route():
      data = api_call()
      return jsonify(data)