curl a url code example
Example 1: curl I flag
User -I flag to only retrieve headers of a curl request:
curl -I [url]
Example 2: curl get url https
curl -k https://localhost:44344/xxxxx
User -I flag to only retrieve headers of a curl request:
curl -I [url]
curl -k https://localhost:44344/xxxxx