Gem 问个 devise 的问题,关于如何从外部调用注册 api

bony · 2012年02月20日 · 最后由 bony 回复于 2012年02月20日 · 2982 次阅读

如何把 devise 的注册封装成一个 api 给别人调用,然后还要获取注册到的 user 再做一些操作。
这种情况有什么合适的方法么?

打开 Token Authenticatable 模块 Token Authenticatable: signs in a user based on an authentication token (also known as "single access token"). The token can be given both through query string or HTTP Basic Authentication.

需要 登录 后方可回复, 如果你还没有账号请 注册新账号