How to build a dynamic url using get parameters in Flask [duplicate]

Solution
@app.route('/post/')
def show_post(post_id):
    # show the post with the given id, the id is an integer
    return 'Post %d' % post_id
@app.route('//')
def show_post(country, industry):
    results = Table.query.filter(Table.country == country, Table.industry == industry).all()
    return render_template('index.html', results=results, country=country, industry=industry)