Microsoft 365 – resolving error : curl: (1) Protocol “‘https” not supported or disabled in libcurl
Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂
Today very small article, new issue and resolution 🙂
Background : From our UNIX team we got request that they need to access the SharePoint online document library. So UNIX team needs a REST API that can be executed with cURL
Since cURL is new for me so tried to investigate and exploring cURL
while exploring cURL, I got an error – curl: (1) Protocol “‘https” not supported or disabled in libcurl
Issue : cURL – client URL – is command line tool, mostly used for transferring data to and from server
I am experimenting following command in command prompt
curl --request Get 'https://knowledge-junction.com'
This command suppose to return the HTML output of site – https://knowledge-junction.com but it returning an error
curl: (1) Protocol “‘https” not supported or disabled in libcurl
After googling bit it found that there is an issue with ‘(single-quotes) used to specify the URL
If we use “(double quote) for specifying the URL it showing correct output as
C:\>curl --request GET "https://knowledge-junction.com"
Thanks for reading 🙂 NJOY Wonderful LIFE 🙂