Chilkat HttpCurl is also a curl Dependency Engine

Chilkat HttpCurl lets you define a set of curl requests as reusable building blocks and automatically determines the correct order to execute them.

Each curl request is treated like a function:

  • Inputs are variables referenced using {{variableName}}
  • Outputs are values extracted from the JSON response using defined JSON paths

How It Works

When you want to execute a target curl request, the system:

  1. Identifies required inputs by scanning for {{variables}}
  2. Checks which inputs are already known
  3. For any missing inputs:
    • Finds a curl request that produces the needed value
    • Recursively resolves that request’s inputs
  4. Builds an execution plan where each curl runs only after its inputs are available

Example

Target request:

GET https://graph.microsoft.com/v1.0/drives/{{driveId}}/root/children

If driveId is not known, the system finds another curl that produces it, resolves its inputs, and continues until all dependencies are satisfied.


Result

The system produces an ordered sequence of curl requests, such as:

1) Get site → siteId
2) Get drives → driveId
3) Get root children

Key Benefit

You define each curl request independently, and the system automatically composes them into a working sequence—eliminating the need to manually orchestrate API call order.