Last active
March 23, 2016 08:26
-
-
Save rakuishi/a3d6d392f66220117eed to your computer and use it in GitHub Desktop.
Rails Command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./bin/rails s | |
./bin/bundle install --path vendor/bundle | |
./bin/bundle exec rails g rspec:install | |
./bin/bundle exec rspec | |
./bin/rails runner -e development SampleWorker.task | |
curl -H "X-Access-Token: eyJ..." http://localhost:3000/api/v1/goods | |
curl -H "X-Access-Token: eyJ..." -X POST -d "" http://localhost:3000/api/v1/goods/1 | |
curl -H "X-Access-Token: eyJ..." -X POST -d count=1207 http://localhost:3000/api/v1/goods/1 | |
curl -H "X-A-Access-Token: eyJ..." -X DELETE http://localhost:3000/api/v1/goods/1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment