add_city_post.py
"""
@app.route('/add_city', methods=['POST'])
def post_add_city():
print("Hello!")
data = request.stream.read()
print(data)
print(request.form)
print(list(request.form.keys()))
code = request.form['cityCode']
print(code)
print("No code?")
name = request.form['cityName']
country = request.form['cityCountry']
continent = request.form['cityContinent']
timezone = request.form['cityTimezone']
latitude = request.form['cityLatitude']
longitude = request.form['cityLongitude']
population = request.form['cityPop']
region = request.form['cityRegion']
add_city_helper(graph, code, name, country, continent, timezone, latitude, longitude, population, region)
print(request.form)
return redirect('/')
"""