美文网首页
API服务器小笔记

API服务器小笔记

作者: yaya_pangdun | 来源:发表于2016-06-16 15:30 被阅读19次
    --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"}
    

    相关文章

      网友评论

          本文标题:API服务器小笔记

          本文链接:https://www.haomeiwen.com/subject/ulablttx.html