To display the response headers of a cURL request, you can use the -i
or --include
option. Here's an example command:
curl -i <URL>
By including the -i
option in the command, cURL will display both the response headers and the response body. The response headers will be shown before the response body in the output.