Difference between revisions of "VT2017 Serverless Architectures Demo"

From air
Jump to navigation Jump to search
Line 1: Line 1:
  +
[[VT2017_Serverless_Architectures|Retour à la fiche]]
 
=== Prerequis ===
 
=== Prerequis ===
   

Revision as of 09:55, 15 September 2017

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