$ curl -i -X POST -d "user[email][email protected]&user[password]=123123" http://localhost:3000/api/v1/sessions拿到用户的 token 的时候报错, ActionController::InvalidAuthenticityToken in Api::V1::SessionsController#create ActionController::InvalidAuthenticityToken
Rails.root: /home/oy/build-an-api-rails-demo