Skip to content

Instantly share code, notes, and snippets.

@ThomasAribart
Last active May 10, 2020 21:10
Show Gist options
  • Save ThomasAribart/e3fa9a2885b1134bc8d2714c5ec20cdd to your computer and use it in GitHub Desktop.
Save ThomasAribart/e3fa9a2885b1134bc8d2714c5ec20cdd to your computer and use it in GitHub Desktop.
const handler = async () => ({
statusCode: 200,
body: JSON.stringify({ fruits: ['What a great tomato'] }),
headers: { 'Content-Type': 'application/json' },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment