Skip to content

Instantly share code, notes, and snippets.

@koorukuroo
Created April 21, 2026 02:38
Show Gist options
  • Select an option

  • Save koorukuroo/a86cf90f570b05ae709edfe093346803 to your computer and use it in GitHub Desktop.

Select an option

Save koorukuroo/a86cf90f570b05ae709edfe093346803 to your computer and use it in GitHub Desktop.
import json
def lambda_handler(event, context):
return {
'statusCode': 200,
'headers': {
'Content-Type': 'application/json',
'Access-Control-Allow-Origin': '*'
},
'body': json.dumps({
'message': '안녕하세요! Lambda가 응답합니다.',
'method': event.get('httpMethod', 'UNKNOWN')
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment