@app.route('/get', methods=('GET',))
def view_get():
 return jsonify(get_dict('url', 'args', 'headers', 'origin'))

@ app . route ( '/get' , methods = ( 'GET' , ) ) def view_get ( ) : return jsonify ( get_dict ( 'url' , 'args' , 'headers' , 'origin' ) )
returns get data .