Open gmlewis opened 2 years ago
On this page: https://wasmcloud.dev/app-dev/create-actor/run/
it says you should get the response: Hello World and later Hello Carol, but if you ran the tutorial for TinyGo, then the response is hello in both cases because of this code:
Hello World
Hello Carol
hello
func (e *EchoTinygo) HandleRequest(ctx *actor.Context, req httpserver.HttpRequest) (*httpserver.HttpResponse, error) { r := httpserver.HttpResponse{ StatusCode: 200, Header: make(httpserver.HeaderMap, 0), Body: []byte("hello"), } return &r, nil }
On this page: https://wasmcloud.dev/app-dev/create-actor/run/
it says you should get the response:
Hello World
and laterHello Carol
, but if you ran the tutorial for TinyGo, then the response ishello
in both cases because of this code: