mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4861] [bug]: JSON Body issue #1828
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#1828
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 @symtalha14 on GitHub (Mar 8, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4861
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Current behavior
Trying to make a simple POST request with a JSON body. Getting the below error message. The produced cUrl however works fine.
Steps to reproduce
I am using Chrome Extension as an interceptor on the desktop app.
Environment
Production
Version
Local
@matifanger commented on GitHub (Mar 8, 2025):
Same here, it's probably the latest update
@yanglee2421 commented on GitHub (Mar 9, 2025):
Same issue +1
@ddbdzung commented on GitHub (Mar 10, 2025):
Fix by manually install extension from source and cherry-pick my commit, it works fine
@LearnShare commented on GitHub (Mar 10, 2025):
Same issue here, with desktop 25.2.1
And upload a png but got mimetype:
text/plain.@ddbdzung commented on GitHub (Mar 10, 2025):
It seems that the plugin is changed from axios to fetch built-in fn, but all features haven't been tested,
@matifanger commented on GitHub (Mar 10, 2025):
how this is not fixed yet, cant believe it
@drjester0627 commented on GitHub (Mar 11, 2025):
When sending json body to FastAPI using Pydantic model, "data" is not working. It should be "data-raw".
In curl command,
curl --request POST --url 'http://localhost/abc' --data '<json data>'-> not workingcurl --request POST --url 'http://localhost/abc' --data-raw '<json data>'-> workingI think hoppscotch should be fixed using 'data-raw' when user selects application/~~~ content-type.
@jamesgeorge007 commented on GitHub (Mar 11, 2025):
Hi, we have a PR with the fix scheduled for the next patch release.
@diauweb commented on GitHub (Mar 11, 2025):
Could you please share the timetable for the next patch release? This issue is a regressive feature that has been disrupting the app's functionality for several days.
@jamesgeorge007 commented on GitHub (Mar 12, 2025):
We are evaluating a few required updates for the deployment pipeline and aiming to issue the patch release later today.
@jamesgeorge007 commented on GitHub (Mar 12, 2025):
Hi, the above fix is now live with the latest release. Please let us know if the issue persists.
Please note: There is an ongoing investigation regarding the unavailability of
linux/amd64based images in the Docker Hub registry. This issue will not impact the cloud offering (web and Desktop App).@jamesgeorge007 commented on GitHub (Mar 13, 2025):
The latest release is now live on all platforms; closing this issue. Please let us know if you have any feedback.
@LearnShare commented on GitHub (Mar 15, 2025):
Hi @jamesgeorge007
Still got got mimetype:
text/plainwhen upload a png file, with desktop 25.2.2.But the web app works fine.