title: Convert curl command to netcat?
body: <p>I am trying to convert a curl command (post) to a netcat command.</p>
  
  <p>I already figured out how to GET/DELETE things like</p>
  
  <pre><code>curl -v http://localhost:1234/232
  
  in netcat:
  
  nc localhost 1234
  GET 232
  HOST: localhost
  </code></pre>
  
  <p>but I dont know how to POST something</p>
  
  <p>For example: I want to save to value 2300 in my path 123</p>
  
  <pre><code>curl -v --data "val=2300" http://localhost:1234/123
  
  and in netcat:
  nc localhost 1234
  POST 123
  HOST: localhost
  
  but where do i write my value?
  </code></pre>