Skip to main content
100%

Gist 46230

✓ Published0🌍 Public
Aamundo
Last edited Jan 12, 2009
Created on Jan 12, 2009

This example demonstrates how to fetch a Wikipedia page and inspect its HTTP response using Ruby’s standard Net::HTTP library. It shows the response code, message, and raw HTML body for the Harry Houdini article, with an `Accept` header requesting XML. The code prints each part to the console, illustrating basic web request handling without any data visualization or rendering.

AI-generated description

Similar vizzes