VT2017 Serverless Architectures Demo

From air
Jump to navigation Jump to search

Retour à la fiche

Prerequis

Demo

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