Registry / http-client / rest-client

rest-client

JSON →
library2.1.0rbrubygemsunverified

A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions: get, put, post, delete.

gem install rest-client
INSTALL
IMPORT
SIG · REST-CLIENT
R
rest-client
http-clientrubyv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RestClient
require 'rest-client'

Simple GET request

require 'rest-client' response = RestClient.get('https://api.github.com') puts response.body
Debug
Known issues
breakingRestClient 2.1.0 dropped support for Ruby < 2.5
fix
Upgrade to Ruby 2.5+ or use rest-client 2.0.x
affects: >= 2.1.0
Upgrade
Version history
2.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
rest-client — gem install rest-client · libregistry