January 2018
Intermediate to advanced
318 pages
7h 6m
English
This is exactly the same as the hello world in the previous section, so I won't go into too much detail. Simply change to the folder where you have the hello.js file and run the following commands:
$ wsk -i package create /guest/demo$ wsk -i action create /guest/demo/hello hello.js --web true
Once you have run the commands creating the package and action, you will be able to access the URL. For me, it was the following:
https://35.188.204.73/api/v1/web/guest/demo/hello.http?name=Kubernetes%20for%20Serverless%20Applications
This showed the page we expected to see:

Again, we can see a little more by running HTTPie:
$ http --verify=no ...
Read now
Unlock full access