No commit activity in last 3 years
No release in over 3 years
Simple Http Client aims to provide a simpler interface to Net:HTTP request objects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 1.6
~> 3.3
~> 0.9
 Project Readme

Install

On Gemfile

gem 'simple_http_client'

Manually

gem install simple_http_client

Usage

require 'simple_http_client'

http_client = SimpleHttpClient.new 'http://host:port'
http_client.get('/path', { 'Header-Key' => 'value' })
http_client.post('/path', { 'Body' => 'Content'}, { 'Header-Key' => 'value' })

Development

make or make spec or bundle install && rspec spec

License

This code is in the Public Domain. See LICENSE