mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
8 lines
149 B
Ruby
8 lines
149 B
Ruby
require "httpx"
|
|
|
|
client = HTTPX::Client.new
|
|
request = client.request(:get, "http://nghttp2.org")
|
|
response = client.send(request)
|
|
|
|
puts response.to_s
|