Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8172607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:50:22+00:00 2026-06-06T21:50:22+00:00

Windows. Node 0.8 express.js/express-resource // Configuration of Express Application for all environments app.configure(function(){ app.set(‘views’,

  • 0

Windows.

Node 0.8 express.js/express-resource

// Configuration of Express Application for all environments
app.configure(function(){
    app.set('views', __dirname + '/views');
    app.set('view engine', 'jade');
    app.use(express.bodyParser());
    //app.use(require('connect').bodyParser());
    app.use(express.methodOverride());

    app.use(express.static(__dirname + '/public')); // for static assets (css)
    app.use(express.static(__dirname + '/..')); // for static assets (css)

    app.use(app.router);
});
app.resource("data", require('.....js'));

Send POST /data (in FireBug): account[foo] bar name New

in created method (req, res)

req.body is undefined.

There are some talks in the internet about a like problem (with bodyParser or Router), but I could not fix it.

A

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T21:50:24+00:00Added an answer on June 6, 2026 at 9:50 pm

    Solved. Just in case for someone: I called app.get(..) before bodyParser middleware.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Tonight I decided I'd try to build a simple Node.js application using Express on
I'm creating an application using Expressjs running on node under IISNode (i.e on windows).
I have built my application using node.js, mongodb, redis, express, socket.io and planning to
How do I Install node.js on my windows Machine?? I Searched All the available
How to set tree node 'read only' in windows C#? Should not us disable,
I am trying to play around with mocha running on node under Windows. I've
I just installed node.js for windows and it really was a breeze to get
I've been trying Node.js running in Windows Azure Emulator, but unfortunatelly it isn't working.
I'm trying to create a websocket server with Node.js to run on a Windows
Windows form application(.Net 3.5) I have a textbox and a button on the form.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.