title: How to send HTTP POST request in C
body: <p>I know there are lot of questions similar to this, but no one helped me.</p>
  
  <p>I have to make a <code>C</code> program, using <code>socket</code> and no external lib, that sends an HTTP POST request to a web server and manage its JSON answer. </p>
  
  <p>The URL is like this: </p>
  
  <blockquote>
    <p>meswebapptest.hermanmiller.com/mes/rest/r2Label/print/userId/company/unitId/prodOrder/printer</p>
  </blockquote>
  
  <p>i.e.</p>
  
  <blockquote>
    <p>meswebapptest.hermanmiller.com/mes/rest/r2Label/print/Biesse/105/1B6D0X-----11225105/112251/Q0161B8</p>
  </blockquote>
  
  <p>So my question is: How the string should be formatted to match that URL?</p>
  
  <p>Thanks in advice.</p>