curl : (1) Protocol https not supported or disabled in libcurl curl : (1) Protocol https not supported or disabled in libcurl curl curl

curl : (1) Protocol https not supported or disabled in libcurl


Got the answer HERE for windows,it says there that:

curl -XPUT 'http://localhost:9200/api/twittervnext/tweet'

Woops, first try and already an error:

curl: (1) Protocol 'http not supported or disabled in libcurl

The reason for this error is kind of stupid, Windows doesn’t like it when you are using single quotes for commands. So the correct command is:

curl –XPUT "http://localhost:9200/api/twittervnext/tweet"


I ran into this problem and turned out that there was a space before the https which was causing the problem. " https://" vs "https://"


Looks like there are so many Answers already but the issue I faced was with double quotes.There is a difference in between:

and

"

Changing the 1 st double quote to the second worked for me, below is the sample curl:

curl -X PUT -u xxx:xxx -T test.txt "https://test.com/test/test.txt"