cURL Import
Flamingo can parse cURL commands and convert them into requests automatically.
How to Import
Section titled “How to Import”- Copy a cURL command from your terminal, browser dev tools, or documentation
- Paste it directly into Flamingo’s URL bar
- Flamingo auto-detects the cURL command and parses it
What Gets Imported
Section titled “What Gets Imported”| cURL Flag | Flamingo Equivalent |
|---|---|
-X / --request | HTTP method (GET, POST, etc.) |
-H / --header | Request headers |
-d / --data / --data-raw | Request body (text) |
| URL (first non-flag argument) | Request URL |
Example
Section titled “Example”# cURL command:curl -X POST https://api.example.com/users \ -H "Content-Type: application/json" \ -H "Authorization: Bearer token123" \ -d '{"name":"John","email":"john@example.com"}'
# After pasting into Flamingo:# Method: POST# URL: https://api.example.com/users# Headers:# Content-Type: application/json# Authorization: Bearer token123# Body (JSON):# {"name":"John","email":"john@example.com"}Supported Flags
Section titled “Supported Flags”Flamingo supports:
-X/--request— Method override-H/--header— Request headers-d/--data/--data-raw— Request body- Quoted strings with single and double quotes
- Escape characters within quoted strings