Starting a REST API by using the internal URL in webMethods API Gateway
Procedure
- Develop a REST or SOAP API.
- Use the Internal URL under API Endpoints
or obtain the Swagger JSON or YAML for the created or designated REST API.
- Click Create Alias to generate an Alias in webMethods API Gateway.
- Provide an alias name, and then select the Technical information
option.
- In the Default value field, paste the Internal url. Next, save the
alias.
- Create an API in webMethods API Gateway by using the downloaded Swagger JSON or YAML.
- Go to the Policies menu, click Edit, and
modify the Routing rule. Edit the Endpoint URI to use
the newly established alias to direct the traffic.
- Next click Transport under the Policies
menu and enable the HTTP and HTTPS protocols.
- Click save and the Activate, and then confirm the activation
action.
- Go to the API details menu, scroll down to the Gateway
endpoints section, and copy the endpoint to start the API.
- Employ the webMethods API Gateway endpoint for starting the API by using a REST client.