title: Curl command not working from centos Server
body: <p>I try to execute the following curl command from centos to Redhat server. It returns the following error. But the same curl command working fine, when I'm directly executing it in RedHat server.</p>
  
  <p>Curl Command:</p>
  
  <blockquote>
    <p>curl --cert client_cert.pem --key client_key.pem --cacert
    server_cert.pem -u uname:pwd -X POST https:xyz.com/start -H
    "Content-Type: application/json" -H "Accept: <em>/</em>" --data
    '{"operationName": "Upload", "operationAlias": "Upload configuration
    data from the network", "operationAttributes":
    {"takeSranBtsFileBackups": true, "WS": "working_set2_32118"}}' -k</p>
  </blockquote>
  
  <p>Error:</p>
  
  <blockquote>
    <p>"error": {"userMessage":"WebApplicationException:
    com.sun.jersey.api.MessageException: A message body reader for Java
    class
    com.nokia.oss.configurator.rac.operationservice.webservice.rest.bindings.StartOperation,
    and Java type class
    com.nokia.oss.configurator.rac.operationservice.webservice.rest.bindings.StartOperation,
    and MIME media type application/octet-stream was not found. }
    curl: (6) Could not resolve host: application; Name or service not known}</p>
  </blockquote>
  
  <p>How can I resolve this error?</p>