Living in the Shell #17; curl (HTTP/S Client) (Part 2)
curl š
Makes requests in various protocols, including (but not limited to) HTTP/HTTPS/FTP/FTPS.
Add a custom header to request -H
curl https://postman-echo.com/get -H 'user-agent: curl'
ā¹ļø You can set any number of headers by repeating -H options....
babakks.hashnode.dev2 min read