-
Notifications
You must be signed in to change notification settings - Fork 0
dopoljak/Rest-Grape-Sequel-Example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
install bundler: - 'gem install bundler' install all gems from Gemfile: - 'bundle install' run server: - 'rackup' execute test request: - 'http://localhost:9292/api/test' - json response: { test: "test", current_time: "2013-09-22 18:50:17" } create new item: - curl -X POST -H Content-Type:application/json http://localhost:9292/api/items -d "{\"name\": \"user002\", \"price\": \"11.11\" }" list all items: - curl -X GET http://localhost:9292/api/items get item by id: - curl -X GET http://localhost:9292/api/items/1
About
REST API example using Ruby, Grape, Sequel and SQLite
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published