mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
10 lines
209 B
Ruby
10 lines
209 B
Ruby
require "httpx"
|
|
|
|
URLS = %w[https://graph.facebook.com/ https://developers.facebook.com/]
|
|
HTTPX.wrap do |http|
|
|
URLS.each do |url|
|
|
response = http.get(url)
|
|
puts "Status: #{response.status}"
|
|
end
|
|
end
|