input: Write a function to design a web server in Python using the Flask framework that would serve a json object containing the current temperature for a city based on the city name given in the request. The function should return the temperature in the response. 
  
  assert get_temp(city="London")=={'temperature': 280.1}
  assert get_temp(city="Paris")=={'temperature': 285.5}
  assert get_temp(city="Tokyo")=={'temperature': 290.8}
  assert get_temp(city="New York")=={'temperature': 275.3}
  assert get_temp(city="Sydney")=={'temperature': 287.2}
output: from flask import Flask, jsonify, request
  
  app = Flask(__name__)
  
  @app.route('/get_temp', methods=['GET'])
  def get_temp():
      city = request.args.get('city')
      temp_data = {
          "London": 280.1,
          "Paris": 285.5,
          "Tokyo": 290.8,
          "New York": 275.3,
          "Sydney": 287.2
      }
      return jsonify({"temperature": temp_data.get(city)})