HTTP Request from inside WASM using Berry-lang and EMSCRIPTEN_FETCH_SYNCHRONOUS

This example uses native Berry-lang function implemented using emscripten_fetch() in synchronous mode.

See the output in browser developer console.

Actual code:


print(httpget('https://httpbin.org/anything'))

Info