Created
October 22, 2018 03:04
-
-
Save ryanblock/b84edf9679b0e5ecc523596adaa19e76 to your computer and use it in GitHub Desktop.
Architect 4.0 HTTP code sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// src/http/get-index/index.js | |
exports.handler = async function http(request) { | |
return { | |
type: 'text/html', | |
body: 'Hello world!' // 200 status by default | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment