Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Flask route with put and post
@app.route("/Outlets/api/outlets/<int:groupNumber>/<int:buttonNumber>",methods=["PUT","POST"])
def update_outlet_state(groupNumber, buttonNumber):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment