Solution
...
from flask_wtf.csrf import CSRFProtect
...
...
csrf = CSRFProtect()
...
from app import csrf
bp = Blueprint("my_bp",__name__)
@csrf.exempt
@bp.route("/test",methods=["GET","POST"]
def test():
return {"test":"helloworld"}
...
from flask_wtf.csrf import CSRFProtect
...
...
csrf = CSRFProtect()
...
from app import csrf
bp = Blueprint("my_bp",__name__)
@csrf.exempt
@bp.route("/test",methods=["GET","POST"]
def test():
return {"test":"helloworld"}