I have a legacy application that can talk http not https. When I hit an endpoint setup with the serverless-domain-manager plugin I get a 301 rather than the content I want. How can I serve up the results of the endpoint, rather than a forward message?
Here is the response I get using httpie
HTTP/1.1 301 Moved Permanently
Date: Sat, 07 Sep 2019 11:16:56 GMT
Via: 1.1 44cd593d82a2d200a94217033c614c6a.cloudfront.net (CloudFront)
X-Cache: Redirect from cloudfront
301 Moved Permanently