diff --git a/lib/routes/feature.js b/lib/routes/feature.js index 356c846364..3629dc5692 100644 --- a/lib/routes/feature.js +++ b/lib/routes/feature.js @@ -99,7 +99,7 @@ module.exports = function (app, config) { .catch(error => handleErrors(req, res, error)); }); - app.put('/features/:featureName/toggle', (req, res) => { + app.post('/features/:featureName/toggle', (req, res) => { const featureName = req.params.featureName; const userName = extractUser(req);