mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
13 lines
256 B
JavaScript
13 lines
256 B
JavaScript
'use strict'
|
|
|
|
module.exports.handler = (event, context, callback) => {
|
|
const httpData = event.requestContext.http
|
|
callback(null, {
|
|
statusCode: 200,
|
|
body: JSON.stringify({
|
|
path: httpData.path,
|
|
method: httpData.method,
|
|
}),
|
|
})
|
|
}
|