Getting Started (Your First Request)
If you have used any API client before, Intend will feel extremely familiar, yet refreshingly simple.
Dissecting a Test Request
Let’s imagine you need to create a new user profile on a JSON API.
Typically, you would need to:
- Copy-paste a Bearer token into an Authorization header.
- Add
Content-Type: application/json. - Possibly add an Idempotency header if the API uses Stripe-style safety.
- Write the JSON payload.
In Intend, the workflow is compressed into Intent:
- Change Method to
POST. - Change Auth to
BEARER_TOKEN. - Type the URL:
https://api.example.com/users. - Write your JSON body:
{"name": "Alice"}. - Click SEND.
What Intend does for you
Under the hood, Intend detects your intent and constructs the following:
POST /users HTTP/2
Host: api.example.com
Authorization: Bearer <your-configured-token>
Content-Type: application/json
Idempotency-Key: a4f1837-...
X-Request-ID: a4f1837-...
Accept: */*
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36...Notice that you didn’t define any of those headers. Intend analyzed your intent:
- It saw you chose
BEARER_TOKEN, so it fetched your token from the current environment config. - It parsed your payload, saw JSON, and injected
Content-Type: application/json. - It saw the
POSTmethod, so it generated a freshIdempotency-Keyto protect against double-submission. - It injected standard browser fingerprints to prevent false positives from WAFs (like Cloudflare).
Last updated on