title: curl: (6) Could not resolve host: application
body: <p>Getting <strong>url: (6) Could not resolve host: application</strong> error after this command :</p>
  
  <pre><code>curl -i -H 'Content-Type: application/json' -d '{"Code":"FR","Name":"France"}' http://127.0.0.1:8080/countries
  </code></pre>
  
  <p><strong>Full error log:</strong></p>
  
  <pre><code>curl: (6) Could not resolve host: application
  HTTP/1.1 415 Unsupported Media Type
  Content-Type: application/json; charset=utf-8
  X-Powered-By: go-json-rest
  Date: Sat, 02 Apr 2016 05:31:20 GMT
  Content-Length: 73
  
  {
  "Error": "Bad Content-Type or charset, expected 'application/json'"
  }
  </code></pre>
  
  <p>What's wrong with this command?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I solved my problem editing like this in windows : <code>"{/"Code/":/"FR/"}"</code></p>