API服务器小笔记

--header "Authorization: Token token=izrFiion7xEe2ccTj0v0mOcuNoT3FvpPqI31WLSCEBLvuz4xSr0d9+VI2+xVvAJjECIoju5MaoytEcg6Md773w==,[email protected]"
token, options = ActionController::HttpAuthentication::Token.token_and_options(request)
"token":"izrFiion7xEe2ccTj0v0mOcuNoT3FvpPqI31WLSCEBLvuz4xSr0d9+VI2+xVvAJjECIoju5MaoytEcg6Md773w=="
"options":{"email":"[email protected]"}

你可能感兴趣的:(API服务器小笔记)