title: ahk POST request using JSON issue
body: <p>I'm developing <strong>REST API</strong>, and It should respond on request made by ahk script. I use <strong>node.js</strong> as server and <strong>mongodb</strong> as database. I tested <strong>POST</strong> my API  in <strong>postman</strong> and it is working. But when I send <strong>POST</strong> requests from my ahk script, something goes wrong.</p>
  
  <hr>
  
  <p>Here is my code </p>
  
  <pre><code>URL := "http://localhost:8000/createPlayer"
  HttpObj := ComObjCreate("WinHttp.WinHttpRequest.5.1")
  
  
  
  
  HttpObj.Open("POST", URL, 0)
  HttpObj.SetRequestHeader("Content-Type", "application/json")
  
  
  json_str := ({"name": "Any Name"})
  
  
  Body = json_str
  HttpObj.Send(Body)
  
  MsgBox, %Body%
  Result := HttpObj.ResponseText
  Status := HttpObj.Status
  msgbox % "status: " status "`n`nresult: " result
  </code></pre>
  
  <hr>
  
  <p>I tried different variations of json_str, but that didn't helped. I would really appreciate if you help me</p>