Skip to content

Export a Service from Martini’s HTTP Client

Exporting requests as services from Martini’s HTTP Client provides a convenient way to consume APIs for your integrations and workflows. This process is both logical and efficient: you begin by consuming the API in the HTTP Client to verify that the credentials, request, and response behave as expected. Once verified, you can save the request as a service, allowing it to be invoked by a Trigger, used as a step within a Workflow, or executed within an API created in Martini.

Steps to Export a Request as a Service

  1. Open the HTTP Client: In Martini Designer, access the HTTP Client via the left-hand navigation bar.

  2. Configure the Request: Set up the HTTP method, URL, and any required headers or parameters for the specific operation.

  3. Send and Test the Request:

    • Click “Send” to execute the request and review the response.
    • Ensure that the request behaves as expected, verifying that the response data matches your requirements.
  4. Save the Request: Click the Save icon in the main navigation bar to save the request within Martini, either at the Workspace or User level.

  5. Export as a Service:

    • Once the request is saved, right-click the saved request and select "Export | Service".
    • Martini will generate a service specifically for the configured operation, ready for customization and integration into workflows.