[GH-ISSUE #5869] [question]: hopp.response.body usage #2307

Closed
opened 2026-03-16 23:54:36 +03:00 by kerem · 1 comment
Owner

Originally created by @noo-dev on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5869

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Desktop App

Browser

Chrome

Operating System

Linux

Bug Description

for the same request, pw.reponse.body has actual body, but hopp.response.body is empty

Deployment Type

Hoppscotch Cloud

Version

No response

Originally created by @noo-dev on GitHub (Feb 12, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5869 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Desktop App ### Browser Chrome ### Operating System Linux ### Bug Description for the same request, pw.reponse.body has actual body, but hopp.response.body is empty ### Deployment Type Hoppscotch Cloud ### Version _No response_
kerem 2026-03-16 23:54:36 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jamesgeorge007 commented on GitHub (Feb 12, 2026):

Hi, the difference is that hopp.response.body includes accessor methods. Because of this, they are accessed and handled differently. Please refer to the documentation for more context.

const data = hopp.response.body.asJSON();

Feel free to reach out if anything is unclear.

<!-- gh-comment-id:3889777474 --> @jamesgeorge007 commented on GitHub (Feb 12, 2026): Hi, the difference is that `hopp.response.body` includes accessor methods. Because of this, they are accessed and handled differently. Please refer to the [documentation](https://docs.hoppscotch.io/documentation/features/scripts#response-body-access-methods) for more context. ```js const data = hopp.response.body.asJSON(); ``` Feel free to reach out if anything is unclear.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2307
No description provided.