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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
      • • Vibe Coding
    • Showing results for:
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Getting the Response Body
    • Close
  • Kelinia Johnson
    Kelinia Johnson
    10,189 Points

    I don't understand what I'm doing wrong

    Posted on Jul 28, 2021 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 on Apr 6, 2021 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 on Jun 17, 2020 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 on Mar 26, 2020 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 on Feb 2, 2020 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 on Nov 19, 2019 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 on Jul 30, 2019 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 on Jun 18, 2019 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 on Jan 31, 2019 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 on Dec 22, 2018 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 on Dec 28, 2017 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 on Oct 8, 2017 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 on Jul 11, 2017 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 on Apr 22, 2017 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 on Apr 6, 2017 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.