API Gateway 10.5 | Using API Gateway | Policies | System-defined Stages and Policies | Transport | Enable HTTP/HTTPS
 
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.
The table lists the properties that you can specify for this policy:
Parameter
Description
Protocol
Specifies the protocol (HTTP or HTTPS) and SOAP format (for a SOAP-based API) to be used to accept and process the requests.
Select one of the following:
*HTTP. API Gateway accepts requests that are sent using the HTTP protocol. This is selected by default.
*HTTPS. API Gateway accepts requests that are sent using the HTTPS protocol.
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:
*SOAP 1.1. This is selected by default. API Gateway accepts requests that are in the SOAP 1.1 format.
*SOAP 1.2. API Gateway accepts requests that are in the SOAP 1.2 format.