title: Raw POST request with json in body
body: <p>In a Lua program, using modeMCU, I am facing a problem with my HTTP POST request.</p>
  
  <p>I test my request against <code>httpbin.org/post</code>.</p>
  
  <p>I want to send json data, so my request is :</p>
  
  <pre><code>POST /post HTTP/1.1
  Host: httpbin.org
  Connection: close
  Accept: */*
  User-Agent: Mozilla/4.0 (compatible; esp8266 Lua; Windows NT 5.1)
  Content-Type: application/json
  
  {...some JSON here}
  </code></pre>
  
  <p>The response is :</p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: nginx
  Date: Mon, 07 Sep 2015 10:39:12 GMT
  Content-Type: application/json
  Content-Length: 332
  Connection: close
  Access-Control-Allow-Origin: *
  Access-Control-Allow-Credentials: true
  
  {
    "args": {}, 
    "data": "", 
    "files": {}, 
    "form": {}, 
    "headers": {
      "Accept": "*/*", 
      "Content-Type": "application/json", 
      "Host": "httpbin.org", 
      "User-Agent": "Mozilla/4.0 (compatible; esp8266 Lua; Windows NT 5.1)"
    }, 
    "json": null, 
    "origin": "5.51.195.252", 
    "url": "http://httpbin.org/post"
  }
  </code></pre>
  
  <p>I have tried 2 other syntax for my body:</p>
  
  <pre><code>POST /post HTTP/1.1
  Host: httpbin.org
  Connection: close
  Accept: */*
  User-Agent: Mozilla/4.0 (compatible; esp8266 Lua; Windows NT 5.1)
  Content-Type: application/json
  
  json:{...some JSON here}
  </code></pre>
  
  <p>and </p>
  
  <pre><code>POST /post HTTP/1.1
  Host: httpbin.org
  Connection: close
  Accept: */*
  User-Agent: Mozilla/4.0 (compatible; esp8266 Lua; Windows NT 5.1)
  Content-Type: application/json
  
  "json":"{...some JSON here}"
  </code></pre>
  
  <p>None is working ...</p>
  
  <p>Do you have an idea?</p>
  
  <p>Note: when I use a <code>curl -v -d @somejson.json -H "Content-Type: application/json" -i -v "http://httpbin.org/post"</code> it works but I cannot get the raw request</p>