Difference between revisions of "Authentication"

From Wiki2
(Created page with "http://speakingaword.blogspot.com/2013/08/authentication-in-angularjs-nodejs-and.html")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
http://speakingaword.blogspot.com/2013/08/authentication-in-angularjs-nodejs-and.html
*[http://speakingaword.blogspot.com/2013/08/authentication-in-angularjs-nodejs-and.html passport angular auth framewks/auth/timesheet]
*[http://frederiknakstad.com/2013/01/21/authentication-in-single-page-applications-with-angular-js/ authentication-in-single-page-applications-with-angular-js /c/wamp/www/framewks/auth/angular-client-side-auth]
 
Hi Sudhakar,
 
Quick question:
Just seeing if I understand basics
 
So   
  curl -v -d "apikey=asdasjsdgfjkjhg" http://127.0.0.1:3000/api/authenticate
 
authenticates.  Then I would think I'd only need send the apikey in every request like this:
 
  curl -d "apikey=asdasjsdgfjkjhg" -G http://127.0.0.1:3000/api/account
 
What would work?
 
Tim McKenna

Latest revision as of 09:35, 2 May 2014

Hi Sudhakar,

Quick question: Just seeing if I understand basics

So

  curl -v -d "apikey=asdasjsdgfjkjhg" http://127.0.0.1:3000/api/authenticate 

authenticates. Then I would think I'd only need send the apikey in every request like this:

  curl -d "apikey=asdasjsdgfjkjhg" -G http://127.0.0.1:3000/api/account

What would work?

Tim McKenna