mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #597] Parameter list not showing JSON object fields (force raw?) #215
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#215
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 @leomp12 on GitHub (Feb 24, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/597
Originally assigned to: @leomp12 on GitHub.
Describe the bug
JSON body is not being properly parsed to parameter list, when raw input is disabled the body seems to be empty even with a valid object set.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
On provided example, I was expecting to see
app_id,titleand the other body object properties on parameter list, or just force raw input forapplication/jsonand then show JSON body as is (Imo it would be even better than fix parameter list behavior).Screenshots


Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
N/A
@liyasthomas commented on GitHub (Feb 24, 2020):
well, the raw parameter feature for payload enables us to send nested arrays, import JSON file contents etc. So I afraid we can't directly map the raw parameter objects to key -value pairs.
And regarding forcing whether key-value pair or raw parameters toggle, well this seems like a better option since even though the provided example request had raw parameters enabled, I was served with the default key-value pairs at first. I'd to manually toggle to raw parameters to see tje payload.
@leomp12 commented on GitHub (Feb 24, 2020):
@liyasthomas great! You want me to give a try? If so, you can assign me to the issue.
@liyasthomas commented on GitHub (Feb 24, 2020):
sure! We'd love to have you onboard! Assigning this to you.
@liyasthomas commented on GitHub (Mar 11, 2020):
@leomp12 how's the progress on this issue?
@leomp12 commented on GitHub (Mar 11, 2020):
Hey @liyasthomas ,
I haven't had time yet, sorry 😞
I was planning to do it next week, probably on Monday or Tuesday, it's ok for you to wait?
@liyasthomas commented on GitHub (Mar 11, 2020):
yeah sure! ✌️💯