Hello World from OSS Silicon Valley
HowToUse/RubyOnRails/4.2/RestClient/1.6
_ Prerequisite
- Rails installation (You can refer Overall/RubyOnRails)
_ Install&Setup
- Step.1
- Edit Gemfile.
$ vi Gemfile
# RestClient gem 'mime-types' gem 'netrc' gem 'http-cookie' gem 'rest-client'
- Step.2
- Install gem files.
$ bundle install
_ HowToUse
- Step.1
- Call RestClient in controller.
response = RestClient.get '<URL>'
_ Author
S.Yatsuzuka
Last-modified: 2016-05-24 (Tue) 19:45:29 (3194d)