Create a REST Input

To create an Input for REST, you must have a REST Connection.

Create an Input for REST in Hero_Flow

  1. Open Hero_Flow.
  2. Click Inputs from the menu on the left.
  3. Click Create New Input.

  4. Enter a name for the REST Input and select a REST Connection from the drop-down list.

    • Enter an endpoint.
      • Variable syntax:

        `${TUPLE.field1}`

    • Enter additional requested headers, query parameters, and/or cookie parameters with their values.
      • These parameters override the Connection parameters.
    • Select a REST method from the drop-down list.
      • GET
      • POST
      • PATCH
      • HEAD
      • PUT
      • DELETE
    • Select a pagination strategy from the drop-down list.
      • Github
      • No Pagination
      • Slack Cursor
    • Enter the body text. (Optional)
    • Select the input format.
      • CSV
      • Binary
      • JSON
      • LOG
    • Click the refresh icon to display the Input field mapping.

      • Confirm or change field names.
      • Confirm or change field data types.
      • Remove or confirm the arrangement of fields.

      Warning

      The field mapping detection executes a real API call with the sample data. This action can cause changes on the other side when using POST, PUT, PATCH, and DELETE methods.

    • Click OK to save the Input configuration.