Invoking a REST API using a REST connector
Learn how to invoke a REST API in a flow service using a REST connector.
Procedure
- From the webMethods Integration navigation bar, click Projects. Select a project and then select Flow services. Click the "+" icon to start creating a new flow service.
- Provide a name and description of the new flow service. For example, ExternalRESTAPIFlow
- On the flow service, click CONNECTORS.
- Type ExternalRESTapi in the search box, select the connector, and then select Add Custom Operation.
- On the account configuration page, select the connection name and provide a name and description of the connection.
- Click Next and select the getgetEmployeeList operation.
- Confirm the action to create the custom operation.
- On the flow service editor, you see that the account is now configured.
- Click the "Map" icon to view the flow service mapping.
- Save the flow service and click Run. As the results show, the employee details are fetched.