# The `fetch` API

[View documentation for this example online][dox] or [View compiled example
online][compiled]

[compiled]: https://rustwasm.github.io/wasm-bindgen/exbuild/fetch/
[dox]: https://rustwasm.github.io/wasm-bindgen/examples/fetch.html

You can build the example locally with:

```
$ ./build.sh
```

(or running the commands on Windows manually)

and then visiting http://localhost:8080 in a browser should run the example!