@app.route("/marge_parse",methods=['POST']) def marge_parse(): addr=request.form.get('addr') if addr==None or addr=='': return {'messages':'Empty Request'} res=Rupantor_Merge.merge(addr) resu={ 'places':res } print(resu) return jsonify(resu) if __name__ == "__main__": app.run(debug=True,host='0.0.0.0')