1 min readSep 19, 2019
Great guide! I personally could not get the curl request to work as stated but got it to work using the following format:
curl -i -H "Content-Type: application/json" -X POST -d '{"api_user":{"email":"user@email.com","password":"password"}}' http://localhost:3000/api/login
Hope this helps anyone else stuck!