Skip to main content

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

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

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
  • Kelinia Johnson
    Kelinia Johnson
    10,189 Points

    I don't understand what I'm doing wrong

    Posted July 28, 2021 2:15am by Kelinia Johnson
    Kelinia Johnson
    10,189 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    Without renaming any of the variables, modify the data callback to concatenate the stream of data to the response

    Posted April 6, 2021 4:11pm by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    3 Answers

  • Karly Lamm
    Karly Lamm
    7,865 Points

    I dont know what I am missing

    Posted June 17, 2020 3:11pm by Karly Lamm
    Karly Lamm
    7,865 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    3 Answers

  • Catalina Villalonga
    Catalina Villalonga
    5,760 Points

    Without renaming any of the variables, modify the data callback to concatenate the stream of data to the responseBody

    Posted March 26, 2020 10:34am by Catalina Villalonga
    Catalina Villalonga
    5,760 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    2 Answers

  • pit pat
    pit pat
    109 Points

    Getting the Response Body

    Posted February 2, 2020 12:53pm by pit pat
    pit pat
    109 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • edo ernest
    edo ernest
    308 Points

    Without renaming any of the variables, modify the data callback to concatenate the stream of data to the responseBody.

    Posted November 19, 2019 11:05am by edo ernest
    edo ernest
    308 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • angelicaestrada
    angelicaestrada
    9,863 Points

    Need help with getting the response body challenge

    Posted July 30, 2019 1:35am by angelicaestrada
    angelicaestrada
    9,863 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • Fabian Pijpers
    PLUS
    Fabian Pijpers
    Courses Plus Student 41,372 Points

    What is the right way?

    Posted June 18, 2019 5:34am by Fabian Pijpers
    Fabian Pijpers
    Courses Plus Student 41,372 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    2 Answers

  • Daron Anderson
    Daron Anderson
    2,567 Points

    Having trouble modifying the call back Can anyone offer suggestions?

    Posted January 31, 2019 6:18am by Daron Anderson
    Daron Anderson
    2,567 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • Cynthia Smith
    Cynthia Smith
    8,031 Points

    unexpected end of input

    Posted December 22, 2018 12:52am by Cynthia Smith
    Cynthia Smith
    8,031 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    2 Answers

  • Danish Tariq
    Danish Tariq
    557 Points

    responseBody += datachunk.tostring();

    Posted December 28, 2017 12:36pm by Danish Tariq
    Danish Tariq
    557 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    2 Answers

  • shirshah sahel
    shirshah sahel
    10,035 Points

    I did'nt understand this is very well.

    Posted October 8, 2017 6:39pm by shirshah sahel
    shirshah sahel
    10,035 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • Kaitlin Saunders
    Kaitlin Saunders
    1,600 Points

    Write a callback for the end of a request stream in Node.js

    Posted July 11, 2017 6:28pm by Kaitlin Saunders
    Kaitlin Saunders
    1,600 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    1 Answer

  • Joe Mackey
    Joe Mackey
    20,418 Points

    See the console.log(responseBody); in that callback around line 10? Fix the listener so that the

    Posted April 22, 2017 4:58am by Joe Mackey
    Joe Mackey
    20,418 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    3 Answers

  • Bobtrade Limited
    Bobtrade Limited
    265 Points

    Without renaming any of the variables, modify the data callback to concatenate the stream of data to the

    Posted April 6, 2017 2:10pm by Bobtrade Limited
    Bobtrade Limited
    265 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body

    3 Answers

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