Enable HTTP/HTTPS
This policy specifies the protocol to use for an incoming request to the API on API Gateway. If you have a native API that requires clients to communicate with the server using the HTTP and HTTPS protocols, you can use the Enable HTTP or HTTPS policy. This policy allows you to bridge the transport protocols between the client and API Gateway.
For example, you have a native API that is exposed over HTTPS and an API that receives requests over HTTP. If you want to expose the API to the consumers of API Gateway through HTTP, then you configure the incoming protocol as HTTP.
Property | Description |
---|---|
Protocol | Specifies the protocol (HTTP or HTTPS),
SOAP format (for a SOAP-based API) to be used to accept and process the
requests.
Select one of the following:
|
SOAP Version | For SOAP-based APIs.
Specifies the SOAP version of the requests which the API Gateway accepts from the client. Select one of the following:
|