Questions tagged [restify]

restify is a module for use with node.js that facilitates the creation of REST web services.

resitfy enables developers to create a REST web services API on top of . restify borrows from the web application framework.

622 questions
-1
votes
1 answer

Teams application - Bot: How to open up a third party signup page in a new tab/browser when a user types a certain text

I am new to teams application development and i am Building a Bot that will communicate with a third party APIs. For users to get information from that third party, they need to sign up to that 3rd party. Can i open a web page in a dialog to sign up…
Sana.91
  • 1,999
  • 4
  • 33
  • 52
-1
votes
1 answer

Restifyapi: Can't set headers after they are sent

Hi Im building two side app on Restifyapi for my friends but when its started i typed first message and its works message sended second terminal but when i typed seccond message server terminal gives error This is server : var restify =…
Ahmetcan Aksu
  • 53
  • 2
  • 10
-1
votes
1 answer

MongoDb and Nodejs Server Response

In my javascript class, i have a function that return a list of things like so, //ProjectClass.js getProjectList: () => @Project.find (err, projects) => console.log(projects) return projects However, whenever I try to send a…
Infinity
  • 3,695
  • 2
  • 27
  • 35
-2
votes
1 answer

NodeJs Restify SQLServer TypeScript - IIS - Impossible mission?

I'd like to start a Rest API project using NodeJS with Restify, but, the environment is Windows (not cloud, not Azure, AWS etc, but local server), with IIS and to make it hardest, with SQLServer. Oh, almost forgot, using Typescript. Is it a…
-2
votes
1 answer

Is node.js Express 4.x suitable for making web api's now vs alternative node packages

I know there are alternatives such as restify but would like to stick with the more familiar express. Does anyone have examples (and or experience/tips to share) of successful implementations of a web api with Express 4.x, such that I could forgo…
Nikos
  • 7,295
  • 7
  • 52
  • 88
-3
votes
1 answer

How to include js file with no error?

I want to separate my route file in nodejs. I use restify framework and this is part of my code: app.routes((app)=>{ require(__dirname + '/../routes/web.js') }) routes/web.js: app.get('/', function (req, res, next) { …
-3
votes
1 answer

What is the difference between these 2 HTTP Get definitions?

I am using Node.js Restify. What is the difference between these 2 ways of defining HTTP Get requests on the server side? How will it affect the client URL calling the GET APIs and retrieving the URL parameters? First one. server.get('/echo',…
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
1 2 3
41
42