How can I remove default headers that cURL sends?
Use -H flag with the header you want to remove and no content after the : -H, –header LINE Custom header to pass to server (H) Sample -H ‘User-Agent:’ This will make the request without the User-Agent header (instead of sending it with an empty value)