[GH-ISSUE #158] Response with content-type "application/hal+json" shows as [Object object] #62

Closed
opened 2026-03-16 13:07:06 +03:00 by kerem · 3 comments
Owner

Originally created by @davidyscott on GitHub (Sep 23, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/158

Originally assigned to: @AndrewBastin on GitHub.

Describe the bug
A picture says a thousand words here. Also note that this is a recent regression; earlier versions worked as desired (I know this isn't super helpful since I don't know which exact commit broke it)
Screenshot from 2019-09-23 10-49-48

To Reproduce
Steps to reproduce the behavior:

  1. Find a service endpoint that returns a content-type of "application/hal+json"
  2. Make a request to said endpoint
  3. Observe the response shows "[Object object]"

Expected behavior
The actual response is shown, ideally rendered prettily as JSON.

Originally created by @davidyscott on GitHub (Sep 23, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/158 Originally assigned to: @AndrewBastin on GitHub. **Describe the bug** A picture says a thousand words here. Also note that this is a recent regression; earlier versions worked as desired (I know this isn't super helpful since I don't know which exact commit broke it) ![Screenshot from 2019-09-23 10-49-48](https://user-images.githubusercontent.com/5116327/65449682-53d70200-ddf0-11e9-82ab-5377768be96e.png) **To Reproduce** Steps to reproduce the behavior: 1. Find a service endpoint that returns a content-type of "application/hal+json" 2. Make a request to said endpoint 3. Observe the response shows "[Object object]" **Expected behavior** The actual response is shown, ideally rendered prettily as JSON.
kerem closed this issue 2026-03-16 13:07:12 +03:00
Author
Owner

@AndrewBastin commented on GitHub (Sep 23, 2019):

Thanks for opening up the issue.

I will look into this.

<!-- gh-comment-id:534231667 --> @AndrewBastin commented on GitHub (Sep 23, 2019): Thanks for opening up the issue. I will look into this.
Author
Owner

@AndrewBastin commented on GitHub (Sep 23, 2019):

@davidyscott I have submitted a PR.

Feel free to test my fork and please do report if the issue still persists.

<!-- gh-comment-id:534278389 --> @AndrewBastin commented on GitHub (Sep 23, 2019): @davidyscott I have submitted a PR. Feel free to test my [fork](https://github.com/AndrewBastin/postwoman) and please do report if the issue still persists.
Author
Owner

@davidyscott commented on GitHub (Sep 25, 2019):

@AndrewBastin Yayy thank you! :)

<!-- gh-comment-id:534822179 --> @davidyscott commented on GitHub (Sep 25, 2019): @AndrewBastin Yayy thank you! :)
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#62
No description provided.