Can i write req.body.first-name in a post request?
<p>I am using expressjs and I am making a post API. My html tag is.</p>

<pre><code>&lt;input type="text" name="first-name"&gt;
</code></pre>

<p>I want a data from this text field and I write.</p>

<pre><code>var firstName = req.body.first-name;
</code></pre>

<p>But I am got the error.</p>

<pre><code>ReferenceError: name is not defined
</code></pre>

<p>How can I write '-' between 'first' and 'last'.</p>