Top "Restify" questions

restify is a module for use with node.

I need to replace Bearer from the header to verify the Token

bearer = bearerHeader.replace("Bearer",""); jwt.verify(bearer, 'super_secret', function (err, decoded) { console.log(err); console.log(decoded); }); Here is …

javascript node.js restify
What's the best practice for MongoDB connections on Node.js?

This is something that is a bit unclear to me (I'm just getting started with Node and Mongo), and it …

node.js mongodb restify
Testing CORS with cURL

I've been implementing CORS in a lil app I have using node-restify to test it out and it turns out …

node.js rest curl cors restify
how do you send html with restify

I want to send plain html instead of a json response for one of my routes in restify. I tried …

node.js http-headers restify
restify optional route parameters

Hi I have an routing issue with restify.io It seems like restify does not support the "?" for optional parameters …

node.js routing restify
Application 'appname' failed to start (port 8080 not available) on open shift node app

I have written a node restify server in coffee and I can't seem to get it running. While deploying I …

linux node.js coffeescript openshift restify
Cannot find module dtrace-provider

I have a simple nodejs application that is throwing "Cannot find module './build/Release/DTraceProviderBindings'". I look it up …

node.js visual-studio-code restify
Redirecting client with NodeJS and Restify

I'm building a REST backend for an SPA with NodeJS, Restify and PassportJS for authentication. Everything's working except the last …

node.js restify passport.js
Node.js + Serve Static Files with RESTIFY

I have a multi-level collection of .html, .js, .png, .css, etc files in a site. A peek at my site …

node.js restify
Get restify REST API server to support both HTTPS and HTTP

I am using node.js restify ver4.0.3 The simple following code works as a simple REST API server that supports …

javascript node.js rest https restify