|
{ |
|
"version": "2.0", |
|
"routeKey": "POST /prediction", |
|
"rawPath": "/localhost/prediction", |
|
"rawQueryString": "", |
|
"headers": { |
|
"accept": "application/json, text/plain, */*", |
|
"accept-encoding": "gzip, deflate, br", |
|
"accept-language": "en-GB,en-US;q=0.9,en;q=0.8", |
|
"authorization": "Bearer ey...", |
|
"content-length": "126", |
|
"content-type": "application/json", |
|
"host": "xxx.execute-api.eu-west-1.amazonaws.com", |
|
"origin": "http://localhost:3000", |
|
"referer": "http://localhost:3000/", |
|
"sec-fetch-dest": "empty", |
|
"sec-fetch-mode": "cors", |
|
"sec-fetch-site": "cross-site", |
|
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36", |
|
"x-amzn-trace-id": "Root=1-xxx-aaaa", |
|
"x-forwarded-for": "1.1.1.1", |
|
"x-forwarded-port": "443", |
|
"x-forwarded-proto": "https" |
|
}, |
|
"requestContext": { |
|
"accountId": "123", |
|
"apiId": "api-id-aws", |
|
"authorizer": { |
|
"jwt": { |
|
"claims": { |
|
"scope": "openid profile email" |
|
}, |
|
"scopes": null |
|
} |
|
}, |
|
"domainName": "xxx.execute-api.eu-west-1.amazonaws.com", |
|
"domainPrefix": "xxx", |
|
"http": { |
|
"method": "POST", |
|
"path": "/localhost/prediction", |
|
"protocol": "HTTP/1.1", |
|
"sourceIp": "52.143.157.36", |
|
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" |
|
}, |
|
"requestId": "aaa-bbbb=", |
|
"routeKey": "POST /prediction", |
|
"stage": "localhost", |
|
"time": "21/May/2023:19:32:35 +0000", |
|
"timeEpoch": 1684697555723 |
|
}, |
|
"body": "eyJiYm94IjogWzEsIDIsIDMsIDRdLCAicG9pbnRzIjogW1s1LCA2XV19" |
|
} |