Skip to main content

Usage

Tests your local url_match_rules.json against the provided URL using the LinkApp API and prints the result payload.

Options

Prerequisites

  • Logged in (uses your stored production token).
  • url_match_rules.json present in the current working directory with valid JSON.

What happens

  1. Loads LinkApp API configuration (production by default) and your saved token.
  2. Reads and parses url_match_rules.json.
  3. Calls the LinkApp API to evaluate the provided URL against your rules.
  4. Prints whether the match succeeded and the API response JSON.

Example