Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set allowed methods flask

from flask import Flask, request, render_template, url_for, redirect

@app.route("/signup/", methods = ['GET', 'POST'])
def signup():
    return "yay"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #allowed #methods #flask
ADD COMMENT
Topic
Name
8+8 =