API GatewayのバックエンドでLambdaを使う場合、
レスポンス形式が不正だとAPI Gatewayが 502 Bad Gateway
レスポンスを返す。
{
"statusCode": httpStatusCode,
"headers": { "headerName": "headerValue", ... },
"body": "..."
}
More than 5 years have passed since last update.
API GatewayのバックエンドでLambdaを使う場合、
レスポンス形式が不正だとAPI Gatewayが 502 Bad Gateway
レスポンスを返す。
{
"statusCode": httpStatusCode,
"headers": { "headerName": "headerValue", ... },
"body": "..."
}
Register as a new user and use Qiita more conveniently