In Flask, I want to send an URL in the URL as a parameter with all its parameters
Here is a working example http://graph.facebook.com/https://www.facebook.com/photo.php?fbid=717097101644637&set=a.456449604376056.98921.367116489976035&type=1&theater
I couldn't find a way, because the moment I cal something like this, the url doesn't go true.
@app.route('/<url>', methods=['GET']) def show(url): """ do something with it """ Any idea how to do it?
Thank you
@app.route('/<path:url>', methods=['GET'])url = request.url.replace(request.url_root,'')for the URL and@app.route('/<path:url>', methods=['GET'])for the app.route.