https://github.com/jish/tiny_http
The smallest http library you need.
https://github.com/jish/tiny_http
Last synced: 1 day ago
JSON representation
The smallest http library you need.
- Host: GitHub
- URL: https://github.com/jish/tiny_http
- Owner: jish
- Created: 2012-08-22T01:56:50.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-01T23:50:45.000Z (almost 12 years ago)
- Last Synced: 2025-06-08T21:17:12.613Z (19 days ago)
- Language: Ruby
- Homepage:
- Size: 113 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Tiny HTTP
The smallest http library you need.
### Usage
```ruby
require 'tiny_http'
response = TinyHttp.new.get "http://jsonip.org/"
# => #
puts response.body
# => {"ip":"1.2.3.4","about":"/about","The One True Editor":"Emacs"}
```