1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [curl](<https://delaparra-services.nl/knowledge-hub/curl>)

  

Category: CLI commands 

# curl

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is curl?

 

curl: Client URL — Make HTTP requests from the command line. ` curl ` sends HTTP requests from the command line and prints the response. ` curl https://example.com ` fetches a page; ` curl -X POST -H 'Content-Type: application/json' -d '{"name":"Anna"}' https://api.example.com/users ` calls an API. It is the universal tool for testing and debugging web services. ` curl -I ` shows only the headers, ` curl -v ` shows the full conversation including TLS details, and ` curl -L ` follows redirects.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about curl

  

### What should you keep in mind with curl?

 

Most API documentation gives examples in curl, and browser developer tools can copy any request as a curl command. That is a handy way to reproduce a bug outside the browser. Be careful with what ends up in your shell history. Tokens passed with ` -H 'Authorization: ...' ` are saved there, so prefer reading them from an environment variable.

 

## At a glance

   CategoryCLI commands Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More CLI commands terms

 

- [chmod](<https://delaparra-services.nl/knowledge-hub/chmod>) 
- [chown](<https://delaparra-services.nl/knowledge-hub/chown>) 
- [cp](<https://delaparra-services.nl/knowledge-hub/cp>) 
- [echo](<https://delaparra-services.nl/knowledge-hub/echo>) 
- [env](<https://delaparra-services.nl/knowledge-hub/env-cli-commands>) 
- [export](<https://delaparra-services.nl/knowledge-hub/export>)

 

[All terms starting with C](<https://delaparra-services.nl/knowledge-hub#letter-c>)

 

## Skills

 

- ### CLI flag safety

 

Use before running or suggesting shell commands with flags, especially destructive or broad ones (-f/--force, -r/-R recursive, -a/--all, -y/--yes, prune, --hard), and when a user asks what a flag means (-v, -q, -n/--dry-run, -h, -o, -p, -t, -u, -w, -x, -c, -i). Explains flags per tool and prefers dry runs and narrow scopes.

 [View skill](<https://delaparra-services.nl/skills/cli-flag-safety>) [Download zip](<https://delaparra-services.nl/skills/cli-flag-safety/download>) 
- ### Debian Linux Triage

 

'Triage and resolve Debian Linux issues with apt, systemd, and AppArmor-aware guidance.'

 [View skill](<https://delaparra-services.nl/skills/debian-linux-triage>) [Download zip](<https://delaparra-services.nl/skills/debian-linux-triage/download>) 
- ### HTTP status debugging

 

Use when an HTTP request returns an unexpected status code (4xx or 5xx, or a redirect loop), when a user pastes an error like "419 Page Expired", "422 Unprocessable Content", "502 Bad Gateway" or "CORS error", or when debugging API calls between a frontend and a Laravel/PHP or Node backend. Finds the cause from the status code, headers and logs before changing code.

 [View skill](<https://delaparra-services.nl/skills/http-status-debugging>) [Download zip](<https://delaparra-services.nl/skills/http-status-debugging/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/curl/skills.zip>)

 

## Manuals

 

- [The terminal commands you actually need](<https://delaparra-services.nl/manuals/terminalcommandos-die-je-nodig-hebt>) 
- [Deploying a Laravel app](<https://delaparra-services.nl/manuals/je-laravel-app-online-zetten>)

 

## Related services

 

- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)

If you want to use a coding agent, we provide all the infrastructure to help it work efficiently.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/curl)
