Skip to content
Home
Dev Convert Generate Finance Calc Design Security Media

More categories

Productivity 23 Network Tools 18 Text Tools 16 SEO Tools 15 Education Tools 14 PDF Tools 10 Mockups 5

Learn and build

GuidesBlogAPI & MCPCheatsheetsChangelog All categories

Browse

415 tools · 15 categories

Start here

Popular tools New this week 29 All tools 415

Categories

Developer Tools 93 Converters 52 Calculators 32 Finance Tools 32 Generators 31 Design Tools 25 Media Tools 25 Security Tools 24 Productivity 23 Network Tools 18 Text Tools 16 SEO Tools 15 Education Tools 14 PDF Tools 10 Mockups 5

Learn and build

Guides Cheatsheets Blog REST API MCP server Changelog

No matches here.

Keep FindUtils free Sponsors fund new tools
  1. Cheatsheets
Guides Blog API & MCP
Sponsor
FindUtils
Sponsor
  1. Home
  2. Cheatsheets
  3. Web Development
  4. cURL HTTP

Web Development · Cheatsheet

cURL HTTP Cheatsheet

GET, POST JSON, headers, auth, redirects, TLS, and useful script flags

36 commands 7 sections

On this sheet

Requests 6 Bodies 6 Headers and auth 6 Output 6 Redirects and TLS 5 Timeouts and scripts 6 Sources 1
Try it in the browser Search HTTP status codes by number or description. Get explanations, use cases, and solutions for every status code. Open HTTP Status Code Lookup

No entry matches that filter.

Requests

  • curl https://example.com/ GET a URL
  • curl -I https://example.com/ Headers only (HEAD)
  • curl -i https://example.com/ Include response headers
  • curl -X PUT URL Set the HTTP method
  • curl -X DELETE URL DELETE a resource
  • curl -X PATCH URL PATCH a resource

Bodies

  • curl -d "a=1&b=2" URL POST form-encoded data
  • curl -d @file.txt URL POST body from a file
  • curl --json '{"ok":true}' URL POST JSON with type headers
  • curl --json @data.json URL POST JSON from a file
  • curl -F "[email protected]" URL Multipart file upload
  • curl --data-urlencode "q=a b" URL URL-encode a field

Headers and auth

  • curl -H "Accept: application/json" URL Add a request header
  • curl -H "Authorization: Bearer TOKEN" URL Send a bearer token
  • curl -u user:pass URL HTTP Basic auth
  • curl -A "MyAgent/1.0" URL Set User-Agent
  • curl -e https://referrer.example/ URL Set Referer
  • curl -b "sid=abc" URL Send a Cookie header

Output

  • curl -o file.bin URL Write the body to a file
  • curl -O URL Save using the remote filename
  • curl -sS URL Silent progress, still show errors
  • curl -v URL Verbose request and response
  • curl -w "%{http_code}\n" -o /dev/null -s URL Print the status code
  • curl --compressed URL Ask for compressed content

Redirects and TLS

  • curl -L URL Follow redirects
  • curl -k URL Skip TLS certificate check
  • curl --cacert ca.pem URL Trust a custom CA file
  • curl --cert client.pem --key key.pem URL Send a client certificate
  • curl --tlsv1.2 URL Require TLS 1.2 or newer where supported

Timeouts and scripts

  • curl --connect-timeout 5 URL Cap the connect phase
  • curl --max-time 30 URL Cap the whole transfer
  • curl -f URL Fail on HTTP error status
  • curl --fail-with-body URL Fail on HTTP error, keep the body
  • curl -fsSL URL Silent, fail, show errors, follow redirects
  • curl -D headers.txt URL Write response headers to a file

Sources

  • https://curl.se/docs/manpage.html curl manual: HTTP requests, redirects, authentication, TLS, and script options.

Related cheatsheets

  • React Hooks53 commands
  • CSS Flexbox36 commands
  • CSS Grid36 commands

Guides that use these commands

  • HTTP Request Builder: Send Public HTTP Calls SafelyGuide · 5 min read
  • Postman to cURL Guide: Convert Collections into Portable CommandsGuide · 11 min read
  • HAR Viewer: Inspect DevTools Logs in Your BrowserGuide · 6 min read

Tools for this work

  • HTTP Status Code LookupSearch HTTP status codes by number or description. Get explanations, use cases, and solutions for every status code.
  • HTTP Request BuilderBuild and send an HTTP request. Shows status, headers, and body. Public http and https hosts only.
  • Security Headers AnalyzerCheck HTTP security headers for web applications and get improvement recommendations.

From FindUtils

More to explore

Products and services from the team behind FindUtils.

Promote your tool
Featured product seeranks.com SeeRanks — transparent product discovery A public ranking board where paid placement is always labeled and every product keeps its earned position. View SeeRanks Public rank board #1 Sponsored #2 #3 #4 Paid placement is always labeled Free favicon tool emojifavicons.com Emoji Favicons Turn any emoji into a favicon with one HTML line. SVG, PNG or ICO, no sign-up. <link rel="icon" href=".../🦊.svg"> Create a favicon
FindUtils service findutils.com Articles for software tools A sourced article for your channels, or a sponsored FindUtils publication with editorial review. Compare packages Domain portfolio findutils.com Domain names for sale .com.dev.sh.app.io Unused names across dev tools, AI, PDF and commerce. Make an offer. Browse the list Playable ranking towerscore.io TowerScore — stack the skyline Play to climb, or buy a floor. Paid floors are labeled. Open TowerScore

Missing a tool you need?

Tell us what to build next. Most requests ship as a free browser tool, an API endpoint and an MCP tool.

Request a tool
FindUtils

Free, fast utilities that respect your data. Most tools process your files in the browser, so they never leave your device.

  • No sign-up for free tools
  • Most tools run in your browser
  • 358 tools callable over REST or MCP

Tools

DevelopersConvertPDFDesignSecurityAll tools →

Learn

GuidesBlogCheatsheetsChangelog

Build

REST APIMCP serverAPI referenceWorkflowsStatus

FindUtils

AboutLibraries we useSponsorRequest a toolDomains for saleContact
© 2026 FindUtils PrivacyTermsSitemap
Service status
FindUtils

Free, fast utilities that respect your data. Most tools run in your browser.

Build with it

REST APIMCP serverGuidesChangelog

FindUtils

AboutSponsorPrivacyContact
Theme
© 2026 FindUtils Terms
FindUtils
Guides Blog REST API MCP server Changelog

Categories

Developers 93 Convert 52 Calculate 32 Finance 32 Generate 31 Design 25
All 15 categories →

Keep it free

Sponsorship keeps every tool free and funds the new ones we ship each week.

Sponsor Back the project
Tools API Sponsor