How to Add a Header to a curl Request
['David Walsh']
David Walsh Blog
How to Add a Header to a curl Request These days I find myself using curl to batch download files and test APIs. To add a header to a curl request, use the -H flag: