VT2017 Serverless Architectures Demo

From air
Revision as of 09:50, 15 September 2017 by Antoine.Boisadam (talk | contribs)
Jump to navigation Jump to search

Hello.js:

1function main(params) {
2   return {payload: 'Hello ' + params.name};
3}

Then in your terminal:

bx wsk action create hello hello.js --web true


bx wsk api create /hello GET hello