Skip to content

Make HTTP requests from inside WASM in Rye-lang. Demo and devcontainer.

License

Notifications You must be signed in to change notification settings

wasm-outbound-http-examples/rye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Make HTTP requests from inside WASM in Rye-lang

This devcontainer is configured to provide you a latest stable version of Go toolset.

Open in GitHub Codespaces

As the Rye embedding API is not released at the time of this writing (some proof, look at I also tested Rye as an embedded language in a Go app part), use the following oversimplified instruction to make HTTP request from the Rye WASM Playground (its source code):

  1. Navigate your browser to official Ryelang website: https://ryelang.org/.

  2. Click darkgrey Rye console button on the top-right of your screen to open the Rye Playground (about 23M to download).

  3. When the prompt and the blinking cursor appeared, type the following snippet into Rye Playground console:

go does { get https://httpbin.org/get |print }
  1. Press ENTER and see the resulting output in Rye Playground console (and browser developer console too).

Created for (wannabe-awesome) list

About

Make HTTP requests from inside WASM in Rye-lang. Demo and devcontainer.

Topics

Resources

License

Stars

Watchers

Forks