github-actions[bot] on gh-pages
deploy: 979f81bd6da7788a18abf6c… (compare)
willfarrell on main
Update httpResponseSerializer d… Merge pull request #885 from ha… (compare)
willfarrell on 3.2.0
willfarrell on main
ci: hide new ide Merge branch 'main' of https://… chore: version bump (compare)
willfarrell on main
feat: self-composing UseFN feat: inherited context propert… chore(lint): ts-standard --fix and 20 more (compare)
const handler = middy(awesomeLogic)
.use(jsonBodyParser())
.use(cors());
export default handler;
async function awesomeLogic(evt, ctx) {
// typeof evt.body === "string"
// it's a POST evt with content-type: application/json
}
typeof evt.body === "object"
httpHeaderNormalizer
middleware before the jsonBodyParser
.