Skip to content

Instantly share code, notes, and snippets.

@jennielees
Last active August 29, 2015 13:57
Show Gist options
  • Save jennielees/9753467 to your computer and use it in GitHub Desktop.
Save jennielees/9753467 to your computer and use it in GitHub Desktop.
from flask import Flask, render_template, request
@app.route('/results', methods=['POST'])
def results():
mc = request['meal_cost']
return render_template('results.html')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment