sdk-rust/example-projects/reqwest-wasm-example
dependabot[bot] e2066527e6 Bump terser in /example-projects/reqwest-wasm-example
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22 16:04:55 -04:00
..
src Bump uuid dep to version 1 2022-06-14 10:52:44 -04:00
.gitignore Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00
Cargo.toml Bump uuid dep to version 1 2022-06-14 10:52:44 -04:00
README.md Make the reqwest/wasm example a little more helpful 2021-10-27 23:18:04 -04:00
index.html Make the reqwest/wasm example a little more helpful 2021-10-27 23:18:04 -04:00
index.js Update reqwest wasm example so it compiles and run properly again 2021-09-10 10:56:14 -04:00
package-lock.json Bump terser in /example-projects/reqwest-wasm-example 2022-07-22 16:04:55 -04:00
package.json Update reqwest wasm example so it compiles and run properly again 2021-09-10 10:56:14 -04:00
webpack.config.js Reqwest wasm example (#43) 2020-05-20 11:37:55 +02:00

README.md

Example usage of CLoudEvents sdk/Reqwest from WASM

First, ensure you have wasm-pack installed

Then install the dependencies:

npm install

And finally run the example:

npm run serve

You should see a form in your browser at http://localhost:8080. When the form is submitted, a CloudEvent will be sent to the Target URL, http://localhost:9000 by default, which is the default URL for the actix example. Fire it up in another terminal to verify that the data is successfully sent and received.

Open the javascript console in the browser to see any helpful error messages.

This example is loosely based off of this example.