Skip to content

Import & Export

Click Import → Paste cURL in the header. Paste any curl command — SendPad parses it and generates a .http request block.

Terminal window
# Paste this:
curl -X POST https://api.example.com/users \
-H "Authorization: Bearer abc123" \
-H "Content-Type: application/json" \
-d '{"name": "Alice"}'

Generated .http:

### Imported request
POST https://api.example.com/users
Authorization: Bearer abc123
Content-Type: application/json
{"name": "Alice"}

Supports: method flags, headers (-H), body (-d, --data, --data-raw), auth (-u), and most common curl flags.

Click Import → OpenAPI spec and paste or upload a JSON or YAML spec (OpenAPI 3.x or Swagger 2.x). SendPad generates a .http file with one request block per endpoint, with path parameters replaced by {{variables}}.

Right-click any executed request in the Results Panel and choose Copy as cURL. The generated command includes:

  • All headers as they were sent
  • Cookies from the jar (URL-encoded)
  • The exact request body

Ready to paste in a terminal or share with a colleague.

After running a .flow file, click Export as Markdown in the Results Panel toolbar.

The export combines your prose comments, the request/response details, and assertion results into a single Markdown document — a shareable test report that non-technical stakeholders can read.

Example output structure:

# User CRUD Lifecycle
## Step 1 · Create user
POST https://api.example.com/users
**Status:** 201 Created **Time:** 142ms
Response:
{"id": 42, "name": "Jane"}
✅ status == 201
✅ body contains Jane