Re: [nodejs] Authentication + query at the same code

2017-01-21 Thread gorman.aura via nodejs
On Sat, 1/21/17, selenagracia795 via nodejs wrote: Subject: Re: [nodejs] Authentication + query at the same code To: nodejs@googlegroups.com Date: Saturday, January 21, 2017, 6:23 AM On Fri, 1/20

Re: [nodejs] Authentication + query at the same code

2017-01-20 Thread selenagracia795 via nodejs
On Fri, 1/20/17, DaneiL wrote: Subject: Re: [nodejs] Authentication + query at the same code To: nodejs@googlegroups.com Date: Friday, January 20, 2017, 10:16 PM I have an example on my github profile, doing getting a token via post. Using

Re: [nodejs] Authentication + query at the same code

2017-01-20 Thread DaneiL
I have an example on my github profile, doing getting a token via post. Using node and express. https://github.com/danizavtz/tokenAuth U can see the code @ server/services/login.service.js I don't get the question 'search string using get' thing. You mean query params in the URL? Something like: l

[nodejs] Authentication + query at the same code

2017-01-20 Thread Daniel Mota
Dear all, I am new at NodeJS, so my apologizes for a "simple" question, but this is a problem in my project. During a webserver I built, I need to do two things: 1) Authenticate using POST a token I have registered 2) Send the search string using GET What happens is that I get a true on the f