No description, website, or topics provided.
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Welcome to Rails

curl -H Accept=application/vnd.twitter-v1+json localhost:9292/statuses/public_timeline

github.com/intridea/grape/wiki/Api-versioning

version 'v1', :using => :header Using this versioning strategy, clients should pass the desired version in the HTTP Accept head.

curl -v -H 'Accept: application/vnd.sample-v1+json' “localhost.com:3000/crypto/encode.json?value=foo

:path version 'v1', :using => :path Using this versioning strategy, clients should pass the desired version in the URL.

curl -v “localhost.com:3000/v1/crypto/encode.json?value=foo