Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • William Ray Noble
    William Ray Noble
    22,190 Points

    GET response, "questions is not defined?

    Posted June 4, 2020 2:27pm by William Ray Noble
    William Ray Noble
    22,190 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • Ryan Doran
    Ryan Doran
    7,815 Points

    PUT request : updates is not defined

    Posted September 25, 2019 2:45pm by Ryan Doran
    Ryan Doran
    7,815 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    0 Answers

  • Samuel Elbaz
    Samuel Elbaz
    17,142 Points

    I can't get vote-up or down to work. This.parent(This isn't getting sent in the parameters)

    Posted June 30, 2019 10:46pm by Samuel Elbaz
    Samuel Elbaz
    17,142 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • mulgey
    mulgey
    9,899 Points

    How does the "sorting" works here?

    Posted January 19, 2019 6:19pm by mulgey
    mulgey
    9,899 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • David Lloyd
    David Lloyd
    2,800 Points

    post man response to localhost:3000/questions: "message": "Cannot read property 'find' of undef

    Posted September 12, 2018 11:15pm by David Lloyd
    David Lloyd
    2,800 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • liamthornback2
    liamthornback2
    9,618 Points

    Post method for creating new question not working, app just freezes.

    Posted August 29, 2018 5:00pm by liamthornback2
    liamthornback2
    9,618 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • Luis Marsano
    Luis Marsano
    21,425 Points

    On unimplemented methods, isn't response 405 Method Not Allowed more appropriate?

    Posted June 24, 2018 4:13am by Luis Marsano
    Luis Marsano
    21,425 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    2 Answers

  • Peter Gess
    Peter Gess
    16,553 Points

    Getting an error when using Postman

    Posted June 8, 2018 12:27pm by Peter Gess
    Peter Gess
    16,553 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    2 Answers

  • Mary Paul
    Mary Paul
    13,792 Points

    Getting a 500 error with questions/:id/answer route

    Posted May 23, 2018 11:00pm by Mary Paul
    Mary Paul
    13,792 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    2 Answers

  • Kurt Bitner
    Kurt Bitner
    12,135 Points

    Any routes after /answers will not work

    Posted January 25, 2018 3:11am by Kurt Bitner
    Kurt Bitner
    12,135 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • James McDonough
    James McDonough
    15,618 Points

    Server not responding to Postman

    Posted December 10, 2017 10:15pm by James McDonough
    James McDonough
    15,618 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    5 Answers

  • Susan Rusie
    Susan Rusie
    10,671 Points

    My code looks like it is right and all my dependencies are installed, but why am I getting this error?

    Posted June 9, 2017 1:03am by Susan Rusie
    Susan Rusie
    10,671 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    2 Answers

  • Dave Degeatano
    Dave Degeatano
    2,267 Points

    Why don't we use the `next` parameter in the callback functions for the router `put` and `delete` methods?

    Posted June 1, 2017 11:05am by Dave Degeatano
    Dave Degeatano
    2,267 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • Piyush Patel
    Piyush Patel
    17,253 Points

    Cannot read property scope of undefined

    Posted May 28, 2017 6:31am by Piyush Patel
    Piyush Patel
    17,253 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • hermanlui2
    hermanlui2
    2,068 Points

    In the download folders for app.js, I can't find where this code in any of the previous video. Where was this explained?

    Posted January 8, 2017 7:36am by hermanlui2
    hermanlui2
    2,068 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    2 Answers

  • Mark Goho
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Mark Goho
    Front End Web Development Techdegree Graduate 28,733 Points

    In the pre('save') function, this is being returned as [object Object].

    Posted December 29, 2016 6:19pm by Mark Goho
    .a{fill-rule:evenodd;}techdegree seal-36
    Mark Goho
    Front End Web Development Techdegree Graduate 28,733 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

  • Christos Peramatzis
    Christos Peramatzis
    16,428 Points

    PUT not working

    Posted July 11, 2016 3:38am by Christos Peramatzis
    Christos Peramatzis
    16,428 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    3 Answers

  • Pat Needham
    Pat Needham
    3,998 Points

    Question json response from get request not including the text field?

    Posted July 4, 2016 4:07pm by Pat Needham
    Pat Needham
    3,998 Points
    • JavaScript
    • Build a REST API With Express
    • Completing and Testing the API
    • Test Routes with Postman

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord