Hi all , When I try to connect a scrip to my server by giving all access , it showing an error that "curl_exec threw error "Protocol https not supported or disabled in libcurl" for https://...... :2087/json-api/version? " Anyone have an idea about , what is the problem with it ?
When passing on a URL to curl to use, it may respond that the particular protocol is not supported or disabled. The particular way this error message is phrased is because curl doesn't make a distinction internally of whether a particular protocol is not supported (ie never got any code added that knows how to speak that protocol) or if it was explicitly disabled. curl can be built to only support a given set of protocols, and the rest would then be disabled or not supported. Note that this error will also occur if you pass a wrongly spelled protocol part as in "htpt://example.com" or as in the less evident case if you prefix the protocol part with a space as in " http://example.com/".
sometimes, while we have get request with cURL. an object must be denied it due of unknown request. But im still wondering, that there is json API from your request.