This example uses TengoHTTP package.
See the output in browser developer console.
Actual code:
fmt := import("fmt") http := import("httpclient") resp := http.request("https://httpbin.org/anything", "GET") fmt.print(is_error(resp) ? resp : resp.body)