You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2013/01/08 03:24:18 UTC
[Couchdb Wiki] Trivial Update of "Session_API" by RobertNewson
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The "Session_API" page has been changed by RobertNewson:
http://wiki.apache.org/couchdb/Session_API?action=diff&rev1=12&rev2=13
with "name" and "password" fields. These can be sent either as JSON or the standard form data encoding; just be sure to set the Content-Type appropriately. (The latter format allows you to log in directly from a simple HTML form.)
You can see your logged-in user name and roles with
- {{
+ {{{
GET /_session
- }}}
+ }}}}
if you pass either your session cookie or authenticate with basic auth;
{{{