Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created November 10, 2020 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/0a29e3e5c1840d1fb575914aaace31fd to your computer and use it in GitHub Desktop.
Save parzibyte/0a29e3e5c1840d1fb575914aaace31fd to your computer and use it in GitHub Desktop.
@app.route("/game", methods=["POST"])
def insert_game():
game_details = request.get_json()
name = game_details["name"]
price = game_details["price"]
rate = game_details["rate"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment