title: curl command - could not resolve xn--x-5gn/post on Ubuntu
body: <p>I am using curl command to call rest api. I want to post data and my curl command looks like:</p>
  
  <pre><code>curl –x POST -u 'username:PW' -k -H "Content-Type:application/json" -d '{"json-input":{"handler":"getContent","image":true,"video":false,"text":false,"source":"1","lage":"testlage1"}}' -i  http://localhost:8080/com.knime.enterprise.server/rest/v4/jobs/3fd2ca61-c173-4160-a20d-45c387f65f64
  </code></pre>
  
  <p>I am getting following message:</p>
  
  <blockquote>
    <p>curl: (6) Could not resolve host: xn--x-5gn curl: (6) Could not
    resolve host: POST</p>
  </blockquote>