mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1036] pw.response.body is an ArrayBuffer instead of object #365
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KoalaMoala on GitHub (Jul 31, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1036
Originally assigned to: @AndrewBastin on GitHub.
Describe the bug
I was expecting to have an object like described here https://github.com/liyasthomas/postwoman/wiki/Post-Requests-Tests#accessing-response-data but got ArrayBuffer instead
To Reproduce
Steps to reproduce the behavior:
My first request :)Expected object [object ArrayBuffer] to have property argsDesktop (please complete the following information):
Thank you for your work on this project, it's very impressive !
@liyasthomas commented on GitHub (Jul 31, 2020):
Thanks for reporting the issue. Looking into it.
@AndrewBastin commented on GitHub (Jul 31, 2020):
This is due to the recent move to the Binary Responses System. I think we will have to introduce some helper methods to convert the body to JSON object ?
@liyasthomas commented on GitHub (Jul 31, 2020):
Yes. Array buffer is served for tests. A helper function to convert response body should work.