Import & Export
Import from cURL
Section titled “Import from cURL”Click Import → Paste cURL in the header. Paste any curl command — SendPad parses it and generates a .http request block.
# 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 requestPOST https://api.example.com/usersAuthorization: Bearer abc123Content-Type: application/json
{"name": "Alice"}Supports: method flags, headers (-H), body (-d, --data, --data-raw), auth (-u), and most common curl flags.
Import from OpenAPI / Swagger
Section titled “Import from OpenAPI / Swagger”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}}.
Export as cURL
Section titled “Export as cURL”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.
Export flow as Markdown
Section titled “Export flow as Markdown”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