title: My curl POST gets "Empty reply from server"
body: <p>I am following this guide:</p>
  
  <p><a href="http://lua-programming.blogspot.co.uk/" rel="noreferrer">http://lua-programming.blogspot.co.uk/</a></p>
  
  <p>I am at the part where I need to create my API. I have used kong before and have created a script to make an api. The problem is that I cannot create an API. My script is literally a barebone api which has no plugins (want to create an api first):</p>
  
  <p><code>curl -X POST --url http://localhost:8001/apis/ --data 'name=mock' --data 'upstream_url=https://mockbin.com' --data 'request_host=mockbin.com';</code></p>
  
  <p>Whenever I run this command, I get a <code>curl: (52) Empty reply from server</code> error but when I do <code>curl -X GET --url http://localhost:8001/apis</code>, it tells me how much apis I have currently (which is 0) so surely there is nothing wrong with the server, right?</p>
  
  <p>Ive installed cassandra and kong locally. Any ideas?</p>