sails-PassportLocalMongoExample icon indicating copy to clipboard operation
sails-PassportLocalMongoExample copied to clipboard

/login has no method 'post'

Open thoughtpalette opened this issue 12 years ago • 9 comments

Pretty sure this is a pebkac issue, but I've gotten the /user to work and return not authorized, but when I try to do a POST on /login, I receive an error.

http://localhost:1337/login?username=admin&password=testing

Can you perhaps show the API URL you're using for /login+parameters?

thoughtpalette avatar Jul 25 '13 21:07 thoughtpalette