AWS API Gateway Data Source


#1

Request to add AWS API Gateway data source in Re:dash :slight_smile:

Thanks,

Scott


#2

What would you define as an AWS API Gateway data source?


#3

Hello Arikfr,

AWS API Gateway is a RESTful web service where requests made to the services have the api key included as part of the HTTP header, as well as a few other properties.

e.g.

“async”: true,
“crossDomain”: true,
“url”: “https://someapiservice.execute-api.eu-west-1.amazonaws.com/v1/payload”,
“method”: “GET”,
“headers”: {
“Auth”: “Allow”,
“content-type”: “application/x-www-form-urlencoded”,
“x-amz-date”: “20170116T192656Z”,
“authorization”: “AWS4-HMAC-SHA256 Credential=q7mBqqcptU5WSwjJlCSWK4PCrDa3Wp8K6oW37aVU/20170116/EU-WEST-1/execute-api/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=bfeef27ef3b22865489d042653dc3f69776c07313789bc425fd8fee0c496ca05”,
“x-api-key”: “q7mBqqcptU5WSwjJlCSWK4PCrDa3Wp8K6oW37aVU”,
“cache-control”: “no-cache”

AWS API Gateway does not support the inclusion of the api key as part of the URL query string. HTTP header is only supported.

Thanks,

Scott