HTTP Request from inside WASM using Goja JavaScript virtual machine

This example uses Goja.

See the output in browser developer console.

Actual code:


console.log(httpget('https://httpbin.org/anything'));

Info