Skip to content

Instantly share code, notes, and snippets.

@coreylight
Created April 21, 2017 16:49
Show Gist options
  • Save coreylight/a00d8dcae2db0924b47dd908be36efee to your computer and use it in GitHub Desktop.
Save coreylight/a00d8dcae2db0924b47dd908be36efee to your computer and use it in GitHub Desktop.
Serverless Plugin Post Block 1
const uuid = require('uuid');
exports.handler = (event, context, callback) => {
const response = {
statusCode: 200,
body: JSON.stringify({
message: 'Your uuid is: ' + uuid.v4(),
input: event
})
};
callback(null, response);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment