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.
2 parents d85f026 + fff65c5 commit c181ed0Copy full SHA for c181ed0
src/client/src/pages/Admin.js
@@ -102,7 +102,7 @@ class Admin extends Component {
102
103
await fetch('/api/execute',
104
{
105
- method: 'GET',
+ method: 'POST',
106
headers: {
107
'Authorization': 'Bearer ' + this.props.access_token
108
}
src/server/api/admin_api.py
@@ -54,7 +54,7 @@ def list_current_files():
54
return jsonify(result)
55
56
57
-@admin_api.route("/api/execute", methods=["GET"])
+@admin_api.route("/api/execute", methods=["POST"])
58
@jwt_ops.admin_required
59
def execute():
60
current_app.logger.info("Execute flow")
0 commit comments