restify Questions

2

Solved

I faced with that problem when implementing REST api with Restify secured with bearer token authorization type. when I sending simple get request to API server it fails with CORS problem 405 (M...
Basifixed asked 6/1, 2014 at 20:40

1

Solved

I'm not able to do url encoded posts to my node.js API using restify. I have the following setup of my restify app: app.use(restify.acceptParser(app.acceptable)); app.use(restify.queryParser()); ...
Medawar asked 3/1, 2014 at 10:16

1

Solved

I've been implementing CORS in a lil app I have using node-restify to test it out and it turns out that in the browser, the behaviour is as expected, this means, in a different origin with CO...
Saturation asked 21/12, 2013 at 17:39

2

Solved

I have a multi-level collection of .html, .js, .png, .css, etc files in a site. A peek at my site hiearchy looks like the following: index.html child1 index.html page1.html page2.html ... chil...
Retriever asked 11/10, 2013 at 14:46

1

Solved

I'm currently switching from restified to Express, and I noticed that the output of res.send({}) in Express has pretty-printed JSON with white space, while the Restify output is minified without wh...
Usury asked 7/11, 2013 at 10:12

3

Solved

Consider the following code for rest API node server. var restify = require('restify'); var server = restify.createServer(); server.get('/echo/:name', function (req, res, next) { res.send({nam...
Caylacaylor asked 17/5, 2013 at 12:50

1

Solved

I am using Restify with Nodejs and I have a question on the correct way of returning control to the next middleware in stack. I hope I am using the correct phrase when I say "next middleware in sta...
Attalie asked 14/5, 2013 at 13:18

1

I have a restful API that I built using node.js and node-restify. I am up to the part where I have to secure it. Apparently, it is easy to find out how to use OAuth 2.0 as a client but hard to find...
Feckless asked 27/2, 2013 at 21:47

1

Solved

I'm trying to use everyauth to handle authentication for a rest api created with restify. But can't find a starting point. I'd expect to be doing something like: var restify = require('restify'); ...
Virginiavirginie asked 27/10, 2012 at 14:56

1

Solved

I'm trying to make a server which stores Json posts, here is the server so far: var restify = require('restify'); var server = restify.createServer(); server.post('/message/', function create(req,...
Waft asked 16/10, 2012 at 23:29

2

Solved

This is something that is a bit unclear to me (I'm just getting started with Node and Mongo), and it really concerns me because of server performance and strain (which I guess is another question, ...
Nurmi asked 3/8, 2012 at 16:47

© 2022 - 2024 — McMap. All rights reserved.