restify / node-restify

The future of Node.js REST development

Home Page:http://restify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

finding using post example is not available!

karokonco opened this issue · comments

I believe that restify is the app for those who really experts for creating server app, not for the beginner. Why? I do not see an example using post!

test('OPTIONS', function(t) {
['get', 'post', 'put', 'del'].forEach(function(method) {
SERVER[method]('/foo/:id', function tester(req, res, next) {
t.ok(req.params);
t.equal(req.params.id, 'bar');
res.send();
next();
});
});

???