-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapicall.json
27 lines (27 loc) · 1.08 KB
/
apicall.json
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
{
"body": "{\"data\":{\"type\":\"shortcodes\",\"id\":\"ygzhjw\",\"attributes\":{\"name\":\"ygzhjsw\",\"destination\":\"yahoo.com\",\"ssl\":\"false\"},\"links\":{\"self\":\"/short-urls/ygzhjw\"}}}",
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"accept-encoding": "gzip",
"accept-language": "en-US,en;q=0.5",
"content-type": "application/vnd.api+json",
"connection": "keep-alive",
"cookie": "name=value",
"host": "lambda-YYYYYYYY.elb.amazonaws.com",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:60.0) Gecko/20100101 Firefox/60.0",
"x-amzn-trace-id": "Root=1-5bdb40ca-556d8b0c50dc66f0511bf520",
"x-forwarded-for": "192.0.2.1",
"x-forwarded-port": "80",
"x-forwarded-proto": "http"
},
"httpMethod": "POST",
"isBase64Encoded": false,
"path": "/shortcodes",
"queryStringParameters": {},
"requestContext": {
"elbs": {
"targetGroupArn": "arn:aws:elasticloadbalancing:us-east-1:XXXXXXXXXXX:targetgroup/sample/6d0ecf831eec9f09"
}
}
}