Skip to content

Instantly share code, notes, and snippets.

@saliksyed
Created June 29, 2017 11:05
Show Gist options
  • Save saliksyed/c7b44599af2f74f9815625f7ce1ae54a to your computer and use it in GitHub Desktop.
Save saliksyed/c7b44599af2f74f9815625f7ce1ae54a to your computer and use it in GitHub Desktop.
from flask import Flask, make_response
app = Flask(__name__)
@app.route("/gdp/<country_code>")
def render_chart(country_code):
return "<h1>"+country_code+"</h1>"
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment