curl -X GET '<apigw_endpoint>/test/greeting?greeter=jane'
Shell
복사
{
"resource": "/{proxy+}",
"path": "/greeting",
"httpMethod": "GET",
"headers": {
"Accept": "*/*",
"Host": "awxuti07d1.execute-api.ap-northeast-2.amazonaws.com",
"User-Agent": "curl/8.14.1",
"X-Amzn-Trace-Id": "Root=1-68a30d6b-639681505fe56dac6f050140",
"X-Forwarded-For": "104.28.209.47",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https"
},
"multiValueHeaders": {
"Accept": [
"*/*"
],
"Host": [
"awxuti07d1.execute-api.ap-northeast-2.amazonaws.com"
],
"User-Agent": [
"curl/8.14.1"
],
"X-Amzn-Trace-Id": [
"Root=1-68a30d6b-639681505fe56dac6f050140"
],
"X-Forwarded-For": [
"104.28.209.47"
],
"X-Forwarded-Port": [
"443"
],
"X-Forwarded-Proto": [
"https"
]
},
"queryStringParameters": {
"greeter": "jane"
},
"multiValueQueryStringParameters": {
"greeter": [
"jane"
]
},
"pathParameters": {
"proxy": "greeting"
},
"stageVariables": null,
"requestContext": {
"resourceId": "700wb9",
"resourcePath": "/{proxy+}",
"httpMethod": "GET",
"extendedRequestId": "Pf8I4ETmIE0ELuA=",
"requestTime": "18/Aug/2025:11:24:27 +0000",
"path": "/test/greeting",
"accountId": "362708816803",
"protocol": "HTTP/1.1",
"stage": "test",
"domainPrefix": "awxuti07d1",
"requestTimeEpoch": 1755516267602,
"requestId": "13c58b34-cc54-4586-b763-72d0fb6952aa",
"identity": {
"cognitoIdentityPoolId": null,
"accountId": null,
"cognitoIdentityId": null,
"caller": null,
"sourceIp": "104.28.209.47",
"principalOrgId": null,
"accessKey": null,
"cognitoAuthenticationType": null,
"cognitoAuthenticationProvider": null,
"userArn": null,
"userAgent": "curl/8.14.1",
"user": null
},
"domainName": "awxuti07d1.execute-api.ap-northeast-2.amazonaws.com",
"deploymentId": "ivmzwg",
"apiId": "awxuti07d1"
},
"body": null,
"isBase64Encoded": false
}
JSON
복사

