Syntax error raised with this code:
server.delete('/accounts/:id/contact',function(req,res){});where server was instantiated like this:
varexpress=require('express');varserver=express();server.get() or server.post() are doing fine but server.delete() is raising a syntax error in Nodeclipse which is hardly correct to me since delete() is a valid route for express objects (see: http://expressjs.com/api.html#app.VERB - the app.routes section)
Syntax error raised with this code:
where server was instantiated like this:
server.get() or server.post() are doing fine but server.delete() is raising a syntax error in Nodeclipse which is hardly correct to me since delete() is a valid route for express objects (see: http://expressjs.com/api.html#app.VERB - the app.routes section)