title: Error on POST - Invalid column name 'NaN'
body: <p>My frontend is Angular 5, my backend is Nodejs and my database is SQL Server.</p>
  
  <p>When I test the post with POSTMAN, the backends works fine, adding data in database.
  But when I try to do it from the Angular app, it returns an error:</p>
  
  <pre><code>{code: "EREQUEST", number: 207, lineNumber: 1, state: 1, class: 16, …}
  class
  :
  16
  code
  :
  "EREQUEST"
  lineNumber
  :
  1
  name
  :
  "RequestError"
  number
  :
  207
  originalError
  :
  info
  :
  class
  :
  16
  event
  :
  "errorMessage"
  lineNumber
  :
  1
  message
  :
  "Invalid column name 'NaN'."
  name
  :
  "ERROR"
  number
  :
  207
  procName
  :
  ""
  serverName
  :
  "MIDF-C18137"
  state
  :1
  </code></pre>
  
  <p>This is my nodejs code</p>
  
  <pre><code>router.post('/clientes', (req, res) =&gt;{
      const dn = parseInt(req.body.dn);
      const entrega = req.body.entrega;
      const dms = req.body.dms;
      const resumo = req.body.resumo;
      execSQLQuery(`INSERT INTO dbcaixa(DN, ENTREGA, DMS, RESUMO) VALUES('${dn}','${entrega}','${dms}','${resumo}')`, res);
  })
  </code></pre>
  
  <p>This is my Angular code</p>
  
  <pre><code>onSubmit(form: any): void {
  
      var body = 'dn=' + form.dn + '&amp;entrega=' + form.entrega + '&amp;dms=' + form.dms + '&amp;resumo=' + form.resumo;
  
    this.httpService.post("http://localhost:3000/clientes", body)
              .subscribe(
                data =&gt; console.log("success!", data),
  
                 );
  
      console.log('you submitted value:', body);
    }
  </code></pre>
  
  <p>The x-www-form-urlencoded I build in var body is EXACLTY the same as the one send by POSTMAN and doesnt work. What am I doing wrong?</p>
  
  <p>Edit: 
  Maybe someone can think it's cors issue. But I already resolve it and I can do get requests</p>