Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jish/tiny_http
The smallest http library you need.
https://github.com/jish/tiny_http
Last synced: 23 days 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 (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-01T23:50:45.000Z (over 11 years ago)
- Last Synced: 2024-12-01T18:42:25.258Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 113 KB
- Stars: 2
- Watchers: 2
- 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"}
```