Skip to content

Instantly share code, notes, and snippets.

@brianray
Last active June 1, 2019 15:34
Show Gist options
  • Save brianray/54233101c1a4ee8d74ddeff2ba8e5052 to your computer and use it in GitHub Desktop.
Save brianray/54233101c1a4ee8d74ddeff2ba8e5052 to your computer and use it in GitHub Desktop.
def add_x_y(request):
""" Our tutorial function """
request_json = request.get_json()
return str(request_json["x"] + request_json["y"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment