angularjs - Angular with CouchDB Cookie Authentication 401 -


i login angular app couchdb cookie authentication.

the first step make admin account try curl if cookie authentication works.

i post curl

curl -vx post 127.0.0.1:5984/_session -h 'content-type: application/x-www-form-urlencoded' -d 'name=foo&password=bar'

and comes out

"http://i.stack.imgur.com/j23hu.jpg"

yes username , password correct

user made "setup admin of futon" (is there different username , password should looking for?)

cors enabled

origins set *

advance thanks

on screenshot take on last line: 'password' not recognizes external or internal command.... on windows need use double quotes escape special characters, not single ones, or write & ^&.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -