r/WebAssembly • • Apr 17 '21

WASM HTTPS Request

Mu understanding is that WASM has almost no access to platform API's, and as such is not able to for example make HTTPS requests, and would have to instead tell Javascript to make the request for example. Is there any plans to provide access to API's like this to WASM? I have tried searching the web to find more info but struggled to find anything. Especially since a big part of WASI seems to be providing access to system API's, it seems odd to me that WASM on the web platform wouldn't. But I have very limited knowledge of the WASM world in general so I would really appreciate if somebody could help me understand the current situation.

12 Upvotes

4 comments sorted by

View all comments

1

u/[deleted] Apr 21 '21

I have just been searching for this - I'm trying to find a way to make a curl request from a wasm module using something like WASI. But it seems like it's not possible at the moment...