Invoking a REST API using a REST connector

Learn how to invoke a REST API in a flow service using a REST connector.

Procedure

  1. 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.
  2. Provide a name and description of the new flow service. For example, ExternalRESTAPIFlow
  3. On the flow service, click CONNECTORS.
  4. Type ExternalRESTapi in the search box, select the connector, and then select Add Custom Operation.
  5. On the account configuration page, select the connection name and provide a name and description of the connection.
  6. Click Next and select the getgetEmployeeList operation.
  7. Confirm the action to create the custom operation.
  8. On the flow service editor, you see that the account is now configured.
  9. Click the "Map" icon to view the flow service mapping.
  10. Save the flow service and click Run. As the results show, the employee details are fetched.