send-request

A command for sending HTTP requests, which are messages used to communicate with web services, through the Postman command-line tool.

In plain words
What is it for?
Use it to call APIs, including requests from Postman collections, and inspect status codes, response times, and response bodies.
Why use it?
It helps construct requests with the right URL, method, headers, body, authentication, and environment without manually assembling them.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/postman-devrel/postman-claude-code-plugin/send-request
Clone the repo
git clone --depth 1 https://github.com/Postman-Devrel/postman-claude-code-plugin
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 303 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00007 $0.00303
Opus 5 $0.00003 $0.00151
Sonnet 5 $0.00001 $0.00061
Haiku 4.5 $0.00001 $0.00030

Measured 2d ago against content hash 7b6be3576211, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

send-request scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/send-request.md · 34 lines

What it actually says

Send an HTTP request using the Postman CLI. Ask the user what URL and method they want, or detect it from context.

Step 1: Determine Request Details

Ask the user for:

  • URL to send the request to
  • HTTP method (default: GET)
  • Any headers, body, or auth needed

If the user wants to send a request from a collection, find collection folders in postman/collections/ and read the *.request.yaml files to extract method and URL. Collections use the v3 folder format.

Step 2: Build and Execute

postman request <METHOD> "<URL>"

With headers: add -H "Header: value" With body: add -d '{"key": "value"}' With bearer auth: add --auth-bearer-token "<token>" With API key: add --auth-apikey-key "<name>" --auth-apikey-value "<key>" With basic auth: add --auth-basic-username "<user>" --auth-basic-password "<pass>" With environment: add -e ./postman/environments/<file>.json

Always show the exact command before running it.

Step 3: Report Results

Parse the response and report status code, response time, and body. Suggest fixes for errors (auth issues, connection problems, invalid URLs).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 34 lines · 7 tokens per session scan A 7b6be3576211

Subscribe to this mod's changes

send-request is a command published in the GitHub repository Postman-Devrel/postman-claude-code-plugin (38 stars, last pushed 27d ago), licensed Apache-2.0. It adds 7 tokens to every session and 303 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories