Which platform is https://www.roc-lang.org/#code-sample supposed to run in? I can't seem to find the Http.get
function
checkout the full example here for Http imports https://www.roc-lang.org/examples/Tasks/README.html
I think Http.get may be a deliberate simplification for educational sake
Oh ok. If that is the case now it makes sense :smile:
basic-cli does have http capabilities in general though
You'll also need the JSON package btw, example.
Now we have basic-webserver I could add an example that uses that to encode/decode JSON for a simple API.
Last updated: Jul 05 2025 at 12:14 UTC