You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This wasm module is used by the `http` mode of the capsule launcher:
58
52
```bash
59
-
cd http-module
60
-
./run-htt-test.sh
53
+
COUCHBASE_CLUSTER="couchbase://localhost" \
54
+
COUCHBASE_USER="admin" \
55
+
COUCHBASE_PWD="ilovepandas" \
56
+
COUCHBASE_BUCKET="wasm-data" \
57
+
./capsule \
58
+
-wasm=./http-module/hello.wasm \
59
+
-mode=http \
60
+
-httpPort=7070
61
61
```
62
62
63
63
Then launch an HTTP request:
@@ -72,18 +72,4 @@ You should get something like this:
72
72
[{"docs":{"name":"this is an info","type":"info"}},{"docs":{"name":"this is another info","type":"info"}},{"docs":{"name":"👋 hello world 🌍","type":"message"}},{"docs":{"name":"👋 greetings 🎉","type":"message"}}]
0 commit comments