1. you are not required to use app.configure() if you dont plan on (or need) different environments 2. you need to set the Content-Type to either application/json or application/x-www-form-urlencoded, these are the two that bodyDecoder parses
On Sat, Oct 30, 2010 at 3:27 PM, soeren <soeren.roer...@googlemail.com>wrote:
> I'm using version 1.0.0rc4. > Any pointers would be greatly appreciated.
> -- > You received this message because you are subscribed to the Google Groups > "Express" group. > To post to this group, send email to express-js@googlegroups.com. > To unsubscribe from this group, send email to > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com> > . > For more options, visit this group at > http://groups.google.com/group/express-js?hl=en.
-- Tj Holowaychuk Vision Media President & Creative Lead
> 1. you are not required to use app.configure() if you dont plan on (or
> need) different environments
> 2. you need to set the Content-Type to either application/json or
> application/x-www-form-urlencoded, these are the two that bodyDecoder parses
> On Sat, Oct 30, 2010 at 3:27 PM, soeren <soeren.roer...@googlemail.com>wrote:
> > Hi everyone,
> > I seem to have a problem with req.body being "undefined" when using a
> > POST request. Im using expresso to do the POST:
> > I'm using version 1.0.0rc4.
> > Any pointers would be greatly appreciated.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Express" group.
> > To post to this group, send email to express-js@googlegroups.com.
> > To unsubscribe from this group, send email to
> > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/express-js?hl=en.
> --
> Tj Holowaychuk
> Vision Media
> President & Creative Lead
> On Oct 31, 2:47 am, "vision media [ Tj Holowaychuk ]" <t...@vision-
> media.ca> wrote:
> > few pointers:
> > 1. you are not required to use app.configure() if you dont plan on (or
> > need) different environments
> > 2. you need to set the Content-Type to either application/json or
> > application/x-www-form-urlencoded, these are the two that bodyDecoder parses
> > On Sat, Oct 30, 2010 at 3:27 PM, soeren <soeren.roer...@googlemail.com>wrote:
> > > Hi everyone,
> > > I seem to have a problem with req.body being "undefined" when using a
> > > POST request. Im using expresso to do the POST:
> > > I'm using version 1.0.0rc4.
> > > Any pointers would be greatly appreciated.
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Express" group.
> > > To post to this group, send email to express-js@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/express-js?hl=en.
> > --
> > Tj Holowaychuk
> > Vision Media
> > President & Creative Lead
> On Oct 31, 8:32 am, soeren <soeren.roer...@googlemail.com> wrote:
> > Aah ok, makes sense and works, thanks a lot.
> > On Oct 31, 2:47 am, "vision media [ Tj Holowaychuk ]" <t...@vision-
> > media.ca> wrote:
> > > few pointers:
> > > 1. you are not required to use app.configure() if you dont plan on (or
> > > need) different environments
> > > 2. you need to set the Content-Type to either application/json or
> > > application/x-www-form-urlencoded, these are the two that bodyDecoder parses
> > > On Sat, Oct 30, 2010 at 3:27 PM, soeren <soeren.roer...@googlemail.com>wrote:
> > > > Hi everyone,
> > > > I seem to have a problem with req.body being "undefined" when using a
> > > > POST request. Im using expresso to do the POST:
> > > > I'm using version 1.0.0rc4.
> > > > Any pointers would be greatly appreciated.
> > > > --
> > > > You received this message because you are subscribed to the Google Groups
> > > > "Express" group.
> > > > To post to this group, send email to express-js@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/express-js?hl=en.
> > > --
> > > Tj Holowaychuk
> > > Vision Media
> > > President & Creative Lead
> > On Oct 31, 8:32 am, soeren <soeren.roer...@googlemail.com> wrote:
> > > Aah ok, makes sense and works, thanks a lot.
> > > On Oct 31, 2:47 am, "vision media [ Tj Holowaychuk ]" <t...@vision-
> > > media.ca> wrote: > > > > few pointers:
> > > > 1. you are not required to use app.configure() if you dont plan > on (or > > > > need) different environments > > > > 2. you need to set the Content-Type to either application/json or > > > > application/x-www-form-urlencoded, these are the two that > bodyDecoder parses
> > > > On Sat, Oct 30, 2010 at 3:27 PM, soeren < > soeren.roer...@googlemail.com>wrote:
> > > > > Hi everyone,
> > > > > I seem to have a problem with req.body being "undefined" when using > a > > > > > POST request. Im using expresso to do the POST:
> > > > > I'm using version 1.0.0rc4. > > > > > Any pointers would be greatly appreciated.
> > > > > -- > > > > > You received this message because you are subscribed to the Google > Groups > > > > > "Express" group. > > > > > To post to this group, send email to express-js@googlegroups.com. > > > > > To unsubscribe from this group, send email to > > > > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com> > <express-js%2Bunsubscribe@googlegrou ps.com> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/express-js?hl=en.
> > > > -- > > > > Tj Holowaychuk > > > > Vision Media > > > > President & Creative Lead
> -- > You received this message because you are subscribed to the Google Groups > "Express" group. > To post to this group, send email to express-js@googlegroups.com. > To unsubscribe from this group, send email to > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com> > . > For more options, visit this group at > http://groups.google.com/group/express-js?hl=en.
-- Tj Holowaychuk Vision Media President & Creative Lead
> > > On Oct 31, 8:32 am, soeren <soeren.roer...@googlemail.com> wrote:
> > > > Aah ok, makes sense and works, thanks a lot.
> > > > On Oct 31, 2:47 am, "vision media [ Tj Holowaychuk ]" <t...@vision-
> > > > media.ca> wrote:
> > > > > few pointers:
> > > > > 1. you are not required to use app.configure() if you dont plan
> > on (or
> > > > > need) different environments
> > > > > 2. you need to set the Content-Type to either application/json or
> > > > > application/x-www-form-urlencoded, these are the two that
> > bodyDecoder parses
> > > > > On Sat, Oct 30, 2010 at 3:27 PM, soeren <
> > soeren.roer...@googlemail.com>wrote:
> > > > > > Hi everyone,
> > > > > > I seem to have a problem with req.body being "undefined" when using
> > a
> > > > > > POST request. Im using expresso to do the POST:
> > > > > > I'm using version 1.0.0rc4.
> > > > > > Any pointers would be greatly appreciated.
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > Groups
> > > > > > "Express" group.
> > > > > > To post to this group, send email to express-js@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > <express-js%2Bunsubscribe@googlegrou ps.com>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/express-js?hl=en.
> > > > > --
> > > > > Tj Holowaychuk
> > > > > Vision Media
> > > > > President & Creative Lead
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Express" group.
> > To post to this group, send email to express-js@googlegroups.com.
> > To unsubscribe from this group, send email to
> > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/express-js?hl=en.
> --
> Tj Holowaychuk
> Vision Media
> President & Creative Lead
> > > > > > 1. you are not required to use app.configure() if you dont plan
> > > on (or
> > > > > > need) different environments
> > > > > > 2. you need to set the Content-Type to either application/json or
> > > > > > application/x-www-form-urlencoded, these are the two that
> > > bodyDecoder parses
> > > > > > On Sat, Oct 30, 2010 at 3:27 PM, soeren <
> > > soeren.roer...@googlemail.com>wrote:
> > > > > > > Hi everyone,
> > > > > > > I seem to have a problem with req.body being "undefined" when using
> > > a
> > > > > > > POST request. Im usingexpressoto do the POST:
> > > > > > > I'm using version 1.0.0rc4.
> > > > > > > Any pointers would be greatly appreciated.
> > > > > > > --
> > > > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > > > "Express" group.
> > > > > > > To post to this group, send email to express-js@googlegroups.com.
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > > <express-js%2Bunsubscribe@googlegrou ps.com>
> > > > > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/express-js?hl=en.
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Express" group.
> > > To post to this group, send email to express-js@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/express-js?hl=en.
> > --
> > Tj Holowaychuk
> > Vision Media
> > President & Creative Lead
> > > > > > > 1. you are not required to use app.configure() if you dont plan
> > > > on (or
> > > > > > > need) different environments
> > > > > > > 2. you need to set the Content-Type to either application/json or
> > > > > > > application/x-www-form-urlencoded, these are the two that
> > > > bodyDecoder parses
> > > > > > > On Sat, Oct 30, 2010 at 3:27 PM, soeren <
> > > > soeren.roer...@googlemail.com>wrote:
> > > > > > > > Hi everyone,
> > > > > > > > I seem to have a problem with req.body being "undefined" when using
> > > > a
> > > > > > > > POST request. Im usingexpressoto do the POST:
> > > > --
> > > > You received this message because you are subscribed to the Google Groups
> > > > "Express" group.
> > > > To post to this group, send email to express-js@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > express-js+unsubscribe@googlegroups.com<express-js%2Bunsubscribe@googlegrou ps.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/express-js?hl=en.
> > > --
> > > Tj Holowaychuk
> > > Vision Media
> > > President & Creative Lead