--- a/backend/routes.js
+++ b/backend/routes.js
@@ -15,8 +15,8 @@
app.post('/api/vf-os-enabler/v0/notification/rules/', controllerV0.createNotificationsRules);
app.post('/api/vf-os-enabler/v0/createApp/', controllerV0.createApp);
//app.get('/:token/getNotifications', function(req, res, next){console.log("PASSASTE com o token: " + req.params.token); next();}, controller.getNotifications);
- app.get('/api/vf-os-enabler/v0/delete/:appid', controllerV0.deleteVapp);
- app.get('/api/vf-os-enabler/v0/deleteRule/:rulesid', controllerV0.deleteRule);
+ app.delete('/api/vf-os-enabler/v0/delete/:appid', controllerV0.deleteVapp);
+ app.delete('/api/vf-os-enabler/v0/deleteRule/:rulesid', controllerV0.deleteRule);
app.get('/api/vf-os-enabler/v0/getRules/:appid', controllerV0.getRules);
app.get('/api/vf-os-enabler/v0/getNotifications/:appid', controllerV0.getNotifications);
app.get('/api/vf-os-enabler/v0/getApps/:developerid', controllerV0.getApps);