diff --git a/docs/samples/hello_world.avap b/docs/samples/hello_world.avap index 2322564..6d5b8cc 100644 --- a/docs/samples/hello_world.avap +++ b/docs/samples/hello_world.avap @@ -1,3 +1,4 @@ -addParam("Alberto",name) -result = "Hello," + name +registerEndpoint("/hello_world","GET",[],"HELLO_WORLD",main,result) +addVar(name,"Alberto") +result = "Hello," + name addResult(result) \ No newline at end of file