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

New No-Code Track! 🚀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
    • 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
  • 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
  • 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.

    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.