Microsoft 365 – resolving error : curl: (1) Protocol “‘https” not supported or disabled in libcurl

Hi All,
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.in'
This command suppose to return the HTML output of site – https://knowledge-junction.in but it returning an error
curl: (1) Protocol “‘https” not supported or disabled in libcurl
Solution :
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.in"

Thanks for reading 🙂 NJOY Wonderful LIFE 🙂
2 Responses
[…] Our other curl article – Microsoft 365 – resolving error : curl: (1) Protocol “‘https” not supported or disabled in libcurl – https://knowledge-junction.com/2021/12/04/microsoft-365-resolving-error-curl-1-protocol-https-not-s… […]
[…] Microsoft 365 – resolving error : curl: (1) Protocol “‘https” not supported or disabled in libcurl – https://knowledge-junction.com/2021/12/04/microsoft-365-resolving-error-curl-1-protocol-https-not-su…/ […]
You must log in to post a comment.