> On Nov 13, 2014, at 3:37 PM, A Khan <[email protected]> wrote:
> 
> Hi, 
> 
> I am new to Node js.  I am trying to parse the request parameters from a post 
> request.  Basically, I have a simple HTML form. I submit the form and in my 
> Node.js server I want to access the form fields values.  
> I see lots of example for parsing query parameters but, that's not what I am 
> looking for.  

They've been conflated in a lot of other environments, but node developers tend 
to keep them separate. the only thing they have in common is that browsers send 
both as query-string formatted fields.

If you're using Express, the body-parser middleware is for this: it sets 
req.body, after reading the req stream. 

Aria

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to