Overview
The Postman API Curl Explorer is a powerful tool for working with API collections and converting them to cURL commands. It's designed for QA professionals, developers, and API testers who prefer command-line tools or need to integrate API calls into scripts.
Getting Started
- Load Collection: Click the file input to select and load a Postman collection JSON file
- Navigate: Use the tree view to explore folders and requests in your collection
- Expand/Collapse: Use the chevron arrows or the toolbar buttons to expand/collapse sections
Substitutions Panel
- Variable Detection: Variables from your collection ({{variable}}) are automatically detected and listed
- Add Substitutions: Create custom find/replace rules for any text in your collection
- Enable/Disable: Check/uncheck substitutions to control which ones are applied
- Apply: Click "Apply substitutions" to process your collection with current settings
- Persistence: Substitutions are saved in browser localStorage for future sessions
Request Editing
- Dual View: Switch between cURL and JSON tabs for each request
- JSON Editing: Modify request structure, headers, body, and parameters
- cURL Editing: Direct command-line editing with syntax highlighting
- Copy Functions: One-click copy for both JSON and cURL formats
- Reset Options: Reset to current baseline or original request state
Status Indicators
- Sub pill: Indicates substitutions have been applied to this request
- JSON pill: Shows JSON has been modified from baseline
- cURL pill: Indicates cURL command has been manually edited
Export & Download
- Download JSON: Export your modified collection with applied changes
- Timestamped Files: Downloaded files include timestamp for version tracking
- Variable Integration: Substitutions are converted back to collection variables on export
Future Enhancements
The following features are planned for future releases:
- OpenAPI Support: Load and convert OpenAPI/Swagger specifications
- YAML Files: Support for YAML format collections and specifications
- Multiple File Loading: Load and merge multiple collection files
- Direct API Testing: Execute API calls directly from the tool
- Test Result Storage: Save and compare API test run results
- Structured Input/Output: Enhanced request/response formatting and validation
- Advanced Information Display: Detailed request analysis and metadata
- Scenario Management: Hide/show specific parts of collections based on test scenarios
- LLM Integration: AI-powered result interpretation and API documentation generation
Tips & Best Practices
- Use substitutions to manage environment variables and sensitive data
- Test your cURL commands in a terminal before integrating into scripts
- Export modified collections regularly to maintain version history
- Use the tree view to organize complex API collections logically
- Leverage the dual editing capability to fine-tune both JSON structure and cURL syntax