We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70d7a8a commit 38c676dCopy full SHA for 38c676d
examples/resource_class_kwargs
@@ -69,5 +69,10 @@ for res in namesp.resources:
69
api.add_namespace(namesp)
70
71
app = Flask('test')
72
+from flask import redirect
73
+@app.route('/', methods=['POST', 'GET'])
74
+def home():
75
+ return redirect('/api/v1/ui')
76
+
77
app.register_blueprint(blueprint)
78
app.run(debug=False, port=8002)
0 commit comments