The answer should be down voted:
The claim in the accepted answer "In the browser, WASM is not allowed to make network connections" IS WRONG ...
look here tinygo ref and here go-compat-matrix
webassembly in a browser is allowed.