with a resource for user, the URL at /api/users doesn't work. I believe this is due to the controller not properly respecting if a resource was prefixed with a parent path, but I may be wrong about that.
Being able to put all of the endpoints under a common path seems useful. Is there another way in which I should be doing this or is prefix the recommended approach?
When trying out
app.use(restful, { prefix: '/api' })
with a resource for user, the URL at /api/users doesn't work. I believe this is due to the controller not properly respecting if a resource was prefixed with a parent path, but I may be wrong about that.
Being able to put all of the endpoints under a common path seems useful. Is there another way in which I should be doing this or is prefix the recommended approach?
Thanks.