API服务器小笔记

2016-06-16  本文已影响19人  yaya_pangdun
--header "Authorization: Token token=izrFiion7xEe2ccTj0v0mOcuNoT3FvpPqI31WLSCEBLvuz4xSr0d9+VI2+xVvAJjECIoju5MaoytEcg6Md773w==,email=test-user-00@mail.com"
token, options = ActionController::HttpAuthentication::Token.token_and_options(request)
"token":"izrFiion7xEe2ccTj0v0mOcuNoT3FvpPqI31WLSCEBLvuz4xSr0d9+VI2+xVvAJjECIoju5MaoytEcg6Md773w=="
"options":{"email":"test-user-00@mail.com"}
上一篇下一篇

猜你喜欢

热点阅读