我正在尝试调用api网关端点并从arduino调用lambda函数。 Arduino不支持https协议,我只能使用不安全的http。
这是来自端点的回复:
HTTP/1.0 301 Moved Permanently
X-Cache: Redirect from cloudfront
X-Amz-Cf-Id: N_y2-yhi7hT4-RHzI8SdUcMjUYfLYCMO3rX3d4qe3Y-TcAAdIG269A==
Connection: Close
Content-Type: text/html
Date: Thu, 09 Feb 2017 09:48:51 GMT
Location: https://id.execute-api.us-east-1.amazonaws.com/dev/pay
Server: CloudFront
Via: 1.1 4cef090fba24867bb1a518bc7c5a1e98.cloudfront.net (CloudFront), 1.1 Comverse 6.2.24
Content-Length: 183
有没有办法解决这个问题到AWS方面?
答案 0 :(得分:3)
截至目前,API Gateway不支持不安全的HTTP Rest API。