def proxy_url(url):
 match = app.url_map.bind('').match(url, method=request.method)
 response = app.view_functions[match[0]](**match[1])
 return make_response(response)

def proxy_url ( url ) : match = app . url_map . bind ( '' ) . match ( url , method = request . method ) response = app . view_functions [ match [ 0 ] ] ( ** match [ 1 ] ) return make_response ( response )
call flask view function for a given url .