HTTP Request from inside WASM using Jsonnet implemented in Golang

This example uses go-jsonnet.

See the output in browser developer console.

Actual code:


local httpget = std.native("httpget");
local res = httpget("https://httpbin.org/anything");
{resp: std.parseJson(res)}

Info