Skip to content
FindUtils
Trending ToolsGuidesBlogRequest a Tool
Sponsor
New

328 tools now run in your code and in your AI client. REST API and MCP server, no API key, no signup.

REST API MCP server
  1. Home
  2. Cheatsheets
  3. Web Development
  4. cURL HTTP
Web Development

cURL HTTP

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

36 entries7 sectionsCopy an entry or print the full reference.
A blue cable connects a terminal plug to an orange server with request and response arrows.

36 entries · Use the copy icon.

All cheatsheets
On this pageEntries
Requests6Bodies6Headers and auth6Output6Redirects and TLS5Timeouts and scripts6Sources1

1Requests

6 entries
Requests: syntax and descriptions
SyntaxDescription
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

2Bodies

6 entries
Bodies: syntax and descriptions
SyntaxDescription
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

3Headers and auth

6 entries
Headers and auth: syntax and descriptions
SyntaxDescription
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

4Output

6 entries
Output: syntax and descriptions
SyntaxDescription
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

5Redirects and TLS

5 entries
Redirects and TLS: syntax and descriptions
SyntaxDescription
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

6Timeouts and scripts

6 entries
Timeouts and scripts: syntax and descriptions
SyntaxDescription
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

7Sources

1 entries
Sources: syntax and descriptions
SyntaxDescription
https://curl.se/docs/manpage.html
curl manual: HTTP requests, redirects, authentication, TLS, and script options.

Related Cheatsheets

Web DevelopmentNew

React Hooks

Blue orbital tracks connect state nodes through a coral hook.

useState, useEffect, useRef, useMemo, React 19 hooks, and custom hook patterns

53 entriesOpen reference
Web Development

CSS Flexbox

Different-sized blocks align along one axis with spacing arrows.

Flex container and item properties, alignment, ordering, and common layout patterns

36 entriesOpen reference
Web Development

CSS Grid

Blue and violet tiles form rows and columns with one tile spanning two columns.

Grid container and item properties, template areas, auto-placement, and responsive grids

36 entriesOpen reference
FindUtils

Tools for the task. Guides for the next step.

Manage data

Tools

  • All tools
  • New tools
  • Password Generator
  • QR Code Generator
  • JSON Formatter
  • PDF Merger
  • Image Compressor
  • Base64 Encoder

Explore

  • Guides
  • Cheatsheets
  • Blog
  • Color Converter
  • Gradient Generator
  • Box Shadow Generator
  • UUID Generator

Developers

  • Tool API
  • API Docs
  • MCP Server
  • Libraries
  • OpenAPI Spec
  • llms.txt

FindUtils

  • About
  • Contact
  • Request a tool
  • Article writing service
  • Sponsor FindUtils
  • Domains for sale
  • Public traffic (24 hours)
  • Public traffic (30 days)

© 2026 FindUtils. All rights reserved.

Privacy policyTerms of serviceSitemap