from flask import request
from flask import jsonify
@app.route("/get_ip", methods=["GET"])
def get_ip():
return jsonify({'ip': request.remote_addr})
from flask import request
from flask import jsonify
@app.route("/get_ip", methods=["GET"])
def get_ip():
return jsonify({'ip': request.remote_addr})