Getting Started

Quickstart & First Request

Create your first API request, set up a test environment, and execute an automated assertion test in under a minute.

Sending Your First API Request

Building your first API collection in CAPost requires only a few clicks.

  1. Launch CAPost: Unlock your encrypted vault with your Master Passphrase.
  2. Create a Collection: Click + New Collection in the side panel to start a new workspace.
  3. Initialize Environments: Create two simple environment presets: Development and Staging.
    environment: Development
    variables:
      - key: BASE_URL
        value: "http://localhost:8080/api/v1"
      - key: API_TOKEN
        value: "{{vault://secrets/dev-access-token}}"
  4. Compose the Request: Choose a GET or POST verb, and use variable injection for base URLs:
    POST {{BASE_URL}}/orders
  5. Run the Execution Runner: Click the Execute button. CAPost will resolve environment variables, inject authenticated headers, and dispatch the request instantly.
  6. Automated Test Assertions: Add test conditions on the right panel:
    • Status code equals 200
    • Response header Content-Type is application/json
    • JSON body field $.data.status equals "created"