Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do i authenticate to _session? #74

Open
boxxxie opened this issue Dec 12, 2012 · 1 comment
Open

how do i authenticate to _session? #74

boxxxie opened this issue Dec 12, 2012 · 1 comment

Comments

@boxxxie
Copy link

boxxxie commented Dec 12, 2012

i want to POST a form with name=myname&password=mypassword to /_session
i want to get the cookie from the response as well.

any easy way to do this with clutch... i'm looking at http-client/couchdb-request as my solution right now...

@boxxxie
Copy link
Author

boxxxie commented Dec 12, 2012

trying to do this

(couchdb-request* "POST" "http://localhost:5984/_session" :data "name=paul&password=1" :content-type "application/x-www-form-urlencoded; charset=UTF-8")

getting back ; Evaluation aborted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant