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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • JASON LEE
    JASON LEE
    17,352 Points

    Location as an argument in the response writeHead or setHead how??

    Posted December 29, 2021 5:50am by JASON LEE
    JASON LEE
    17,352 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    0 Answers

  • wc93
    wc93
    25,725 Points

    Not able to download program zip

    Posted January 27, 2021 10:46pm by wc93
    wc93
    25,725 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    0 Answers

  • mk37
    mk37
    10,271 Points

    why did he not also use request.on("end", ... ) to get the url query string?

    Posted December 25, 2019 9:17am by mk37
    mk37
    10,271 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    1 Answer

  • Saud Tauqeer
    PLUS
    Saud Tauqeer
    Courses Plus Student 8,099 Points

    need some quick help about the get and post cycle going on here.

    Posted August 8, 2018 11:16pm by Saud Tauqeer
    Saud Tauqeer
    Courses Plus Student 8,099 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    2 Answers

  • Akash Sharma
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Akash Sharma
    Full Stack JavaScript Techdegree Student 14,147 Points

    Is the 303 Redirection from Post to Get coming from the server itself or the still client?

    Posted December 2, 2017 6:06pm by Akash Sharma
    .a{fill-rule:evenodd;}techdegree
    Akash Sharma
    Full Stack JavaScript Techdegree Student 14,147 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    1 Answer

  • Tennyson Horn
    Tennyson Horn
    14,660 Points

    Server crashes after displaying profile. Profile displays without avatar.

    Posted November 7, 2017 4:09pm by Tennyson Horn
    Tennyson Horn
    14,660 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    2 Answers

  • Carla Kroll
    Carla Kroll
    7,906 Points

    page not loading when I add full else statement

    Posted October 12, 2017 4:32pm by Carla Kroll
    Carla Kroll
    7,906 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    2 Answers

  • Nick Fite
    Nick Fite
    11,168 Points

    Getting a bad gateway response when attempting to run the app

    Posted September 19, 2016 3:46am by Nick Fite
    Nick Fite
    11,168 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    1 Answer

  • weiyang wan
    PLUS
    weiyang wan
    Courses Plus Student 15,257 Points

    The Design folder in Build a simple dynamic website with node.js project

    Posted June 13, 2016 7:42am by weiyang wan
    weiyang wan
    Courses Plus Student 15,257 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    1 Answer

  • ericb2
    ericb2
    11,429 Points

    Is last project file folder for dynamic node.js site course missing from download?

    Posted January 16, 2016 7:11am by ericb2
    ericb2
    11,429 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    1 Answer

  • Stephen Gehring
    Stephen Gehring
    11,203 Points

    Node app running slow when it request users JSON?

    Posted January 11, 2016 1:15am by Stephen Gehring
    Stephen Gehring
    11,203 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    0 Answers

  • Caesar Bell
    Caesar Bell
    24,873 Points

    Can't access user profile, (error "Moved Permanently")

    Posted October 23, 2015 12:18am by Caesar Bell
    Caesar Bell
    24,873 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    6 Answers

  • Marcio Mello
    Marcio Mello
    7,861 Points

    Why use POST if you're redirecting to a GET page?

    Posted October 3, 2015 11:29pm by Marcio Mello
    Marcio Mello
    7,861 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    3 Answers

  • Cernan Bernardo
    Cernan Bernardo
    17,437 Points

    Redirect not working

    Posted April 5, 2015 7:13am by Cernan Bernardo
    Cernan Bernardo
    17,437 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    1 Answer

  • Yongshuo Wang
    Yongshuo Wang
    5,500 Points

    NodeJS redirect not working

    Posted April 1, 2015 11:53am by Yongshuo Wang
    Yongshuo Wang
    5,500 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • HTTP Methods and Headers
    • Redirection Headers in Node.js

    3 Answers

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

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.