Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Sends HTTP requests with config-based auth, named endpoints, template variables, and JWT generation.
Use this skill ↓48% 83%+35 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 11 of 23 without it.
We want to configure API Key authentication in `.pi-super-curl/config.json`. What values should be set for the `type` and `header` fields inside the `auth` object when passing an `X-API-Key` header with environment token `$API_KEY`?
Sets type to api-key
3 of 3 safety checks passed
Sends HTTP requests with:
.pi-super-curl/config.json)@endpoint-name{{uuid}}, {{uuidv7}}, {{env.VAR}}, {{timestamp}}$VAR syntax for secrets in configRun the send-request.cjs script with request parameters:
# First, find the script path (use -L to follow symlinks)
SCRIPT=$(find -L ~/.pi/agent/skills -name "send-request.cjs" 2>/dev/null | head -1)
# Then use it
node "$SCRIPT" <METHOD> "<URL>" [options] 2>&1
Parameters:
METHOD: GET, POST, PUT, PATCH, DELETEURL: Full URL or @endpoint-name from config--body '{"key": "value"}': Request body (JSON, supports templates)--header 'Name: Value': Custom header (repeatable)--save: Save response to ~/Desktop/api-responses/--stream: Stream SSE responsesExamples:
# Simple GET request
node "$SCRIPT" GET "https://httpbin.org/get" 2>&1
# POST with JSON body and templates
node "$SCRIPT" POST "@chat" --body '{"id": "{{uuidv7}}", "user": "{{env.USER_ID}}"}' 2>&1
# Named endpoint from config
node "$SCRIPT" GET "@health" 2>&1
Next to this one in the catalogue, plus more from the same author.