Attach a header to an HTTP request with cURL

Uses the --header flag to attach an additional header when sending a request to a url.

Authored by: Tader
Brought to you by Warp, a free terminal reimagined to work like a modern app.
header
url

Command
Copy
curl --header "header" url
Tags