url_for
@app.route('/blog/post/<string:id>',methods=['GET'])
def get_blog_post(id):
return id
Mahmoud Hamddy
@app.route('/blog/post/<string:id>',methods=['GET'])
def get_blog_post(id):
return id
<a href="{{ url_for('get_blog_post',id = blog.id)}}">{{blog.title}}</a>