#new directory for this tiny app mkdir get-page cd get-page #create app gg -k get-pageCopied!
vi fetch.golfCopied!
begin-handler /fetch public call-web "https://google.com" response text response-headers head print-out head new-line print-out text new-line end-handlerCopied!
gg -q
Copied!
gg -r --req="/fetch" --exec --silent-headerCopied!
HTTP/2 200 date: Sun, 17 Aug 2025 19:03:40 GMT expires: -1 cache-control: private, max-age=0 content-type: text/html; charset=ISO-8859-1 ... <!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, including webpages, images, video s and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content= ...Copied!