SHARE
TWEET

Untitled

a guest Jun 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'use strict';
  2.  
  3. module.exports.helloWorld = (event, context, callback) => {    
  4.   const response = {
  5.     statusCode: 200,
  6.     headers: {
  7.       'Access-Control-Allow-Origin': '*',
  8.     },
  9.     body: JSON.stringify({
  10.       message: `Hello World`
  11.     }),
  12.   };
  13.  
  14.   callback(null, response);
  15. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top