Building Requests
The request builder is the heart of Flamingo. It is divided into several sections, each accessible via the tab bar below the URL bar.
Request Name
Section titled “Request Name”Click the request name input at the top to give your request a meaningful name. This is used when saving to collections and in history entries.
HTTP Method
Section titled “HTTP Method”Select the HTTP method from the dropdown next to the URL bar. Methods are color-coded:
- GET — green
- POST — blue
- PUT — amber
- PATCH — purple
- DELETE — red
- OPTIONS / HEAD — gray
URL Input
Section titled “URL Input”Enter the target URL in the address bar. You can paste a cURL command directly — Flamingo auto-detects and parses it.
Request Sections
Section titled “Request Sections”Each tab in the request builder controls a different aspect of the request:
| Tab | What it configures |
|---|---|
| Params | URL query parameters |
| Headers | HTTP request headers |
| Auth | Authentication configuration |
| Body | Request payload |
| Scripts | Pre-request and post-response JavaScript |
Sending
Section titled “Sending”Click Send or press Ctrl + Enter to execute the request. Flamingo:
- Resolves
{{variable}}placeholders using the active environment - Runs the pre-request script (if any)
- Sends the HTTP request via
fetch() - Captures the response (status, headers, body, timing, size)
- Runs the post-response script (if any)
- Saves the request to history
- Displays the response in the right panel
Example: Sending a GET Request
Section titled “Example: Sending a GET Request”// Method: GET// URL: https://api.example.com/users?page=1// Params tab:// page = 1// Headers tab:// Authorization = Bearer {{token}}// Click Send => response displayed in right panel