CURL command with headers stopped working on the latest mac version. command used to work fine in earlier versions of the Mac OS.
Below command returns error - unkown Header
curl --request GET ‘URL’ --Header ‘Accept-Language:en’ --Header ‘Content-Type: application/json’
Note: If --Header is given in lower case '--header' is seems to be working in the latest version.
Does anyone face this issue and any fix would be really appreciated.