Skip to the article

I'm Fernando,
a full-stack developer!

curl Articles

Curl support creations of a header file when making requests, this is quite useful for shell scripting, as some services provide metadata only via the headers. An exampe of this is the GitHub API, which provides the rate limit and pagination information in the headers. To create a header file, you can use the -D flag, which will write the headers to a file. An example of this is: