input: Write a function that creates and runs a web server using the Flask framework. The server should have an endpoint '/getTemp' that accepts a POST request containing a 'city' in the JSON body. The server should then fetch the current temperature for the specified city from the OpenWeatherMap API and return it as a JSON response. The function should not return anything; instead, it should start the server when executed.
  
  def create_weather_server():
      import requests
      import json
      from flask import Flask, request
  
      app = Flask(__name__)
  
      @app.route('/getTemp', methods=['POST'])
      def get_temp():
          city = request.json['city']
          url = 'http://api.openweathermap.org/data/2.5/weather?q={}&APPID=xxxxxx'
          r = requests.get(url.format(city))
          weather = json.loads(r.text)
          return {'temperature': weather['main']['temp']}
  
      if __name__ == '__main__':
          app.run(debug=True)
  
  assert create_weather_server() is None
  assert type(create_weather_server()) == NoneType
output: def create_weather_server():
      import requests
      import json
      from flask import Flask, request
  
      app = Flask(__name__)
  
      @app.route('/getTemp', methods=['POST'])
      def get_temp():
          city = request.json['city']
          url = 'http://api.openweathermap.org/data/2.5/weather?q={}&APPID=xxxxxx'
          r = requests.get(url.format(city))
          weather = json.loads(r.text)
          return {'temperature': weather['main']['temp']}
  
      if __name__ == '__main__':
          app.run(debug=True)