-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is middle ware working ? #2
Comments
I confirm, gives me same trouble on Express 3 |
Hey guys, sorry for the delay. Do you have a sample repository where this doesn't work? I am unable to reproduce in test. |
@alancnet , is this repository still alive? Thanks for the project, it's very useful. |
@miguelalarcos I would appreciate any PR's. A library like this needs contributors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
var express = require('express');
var expressRest = require('express-rest');
......
var app = express(); // the server is created
var rest = expressRest(app);
rest.post('/api/pdl',function(req, rest) {
console.log("ok");
rest.ok("data sent");
});
// returns me error 500 it only works when using rest.get ...
thanks..
The text was updated successfully, but these errors were encountered: