Curl 6 Could Not Resolve Host Raw Githubusercontent Com

Learn how to troubleshoot and resolve the "Curl error (6): Couldn't resolve host name" issue on Super User forum.

curl 6 could not resolve host raw githubusercontent com 1

When you use curl to access a web page it is actually sending the GET request to the server. There are other kinds of request that can be used and -X is the way to specify this. As noted above, this command is usually not needed. For example, if you need a POST request you can use -d rather than using -X.

curl 6 could not resolve host raw githubusercontent com 2

curl -v displays HTTP headers but not the complete request body. Learn about its limitations and alternatives for viewing full HTTP requests.

curl 6 could not resolve host raw githubusercontent com 3

Is there a way to install cURL in windows in order to run cURL commands from the command prompt?