All apps/curl

curl

curl

A command line tool and library for transferring data with URL syntax.

Runs as curl|macOS, Linux, Windows|curl.se

Command form

ai-draft · 3 tasks · 16 fields

Make an HTTP request or download a URL. Other protocols, TLS tuning, proxies and multi-URL sessions are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui curl
Transfer a URLExample values, fixed in this page — nothing here reaches a terminal
Basic
URL*
url
Output file
file
Save with remote name
--remote-name
Follow redirects
--location
Advanced
Fail on HTTP errors
--fail
TasksEach one presets the form for one job
Download a file
urllocationremote_nameoutputfail
POST JSON
urlmethodheaderdatasilentshow_error
Inspect response headers
urlheadlocation
ParametersOnly these flags are editable in the form
URL
url · positional 0
Method
string
--request-XGETPOSTPUTPATCHDELETEHEAD
Headers
One header per entry, for example Content-Type: application/json.
string · repeatable
--header-HContent-Type: application/jsonAccept: application/json
Request body
Send as POST data. Prefix with @ to read from a file.
string · repeatable
--data-d
User
user:password for server authentication.
string
--user-u
Output file
path
--output-o
Save with remote name
boolean
--remote-name-O
Follow redirects
boolean
--location-L
Silent
boolean
--silent-s
Show errors when silent
boolean
--show-error-S
Fail on HTTP errors
boolean
--fail-f
Include response headers
boolean
--include-i
Headers only
boolean
--head-I
Verbose
boolean
--verbose-v
Skip TLS verification
boolean
--insecure-k
Max time (seconds)
integer
--max-time-m
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed curl against its version. A form that does not match your version is not offered.