Drupal 7 开发内部培训资料, 分头诗人

RESTful 如何设置认证登录?

赞成!
0
否决!

https://github.com/RESTful-Drupal/restful/wiki/3.-Authentication

Using login endpoint, with cookies

You will need to have Drupal give you an authentication cookie either by manually logging in to your Drupal site, or via the api/v1.0/login endpoint (see more).

Once your client has the auth cookie, it can send that back with every request and Drupal will know the REST request has come from an authenticated user.

 

在这里说可以手工登录,但说明的login页面没有了,不知道谁有相关的说明,英文也可以,谁给说下方法。