File size: 1,738 Bytes
0914710
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
  "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"
}