mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4854] [bug]: Post params / Content-type is not not being set after upgrading #1825
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#1825
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 @jkthoppil on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4854
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Current behavior
Even though we've set the post params (Tried setting Content-Type to multipart/form-data and application/json) But I'm not receiving it in the server.
My Request:
curl --request POST \ --url 'https://echo.qubit.codes/?qp=1' \ --header 'content-type: multipart/form-data' \ --form fd=1Response:
{ "method": "POST", "url": "https://echo.qubit.codes/", "full_url": "https://echo.qubit.codes/?qp=1", "path": "/", "segments": [], "query_params": { "qp": "1" }, "post_params": [], "all_params": { "qp": "1" }, "files": [], "headers": { "Content-Type": "multipart/form-data", "Accept-Encoding": "deflate, gzip", "Accept": "*/*", "Content-Length": "0", "Connection": "close", "X-Forwarded-For": "49.37.233.114", "Host": "echo.qubit.codes" }, "cookies": [], "ip": "49.37.233.114", "time": "2025-03-06T15:21:12+00:00", "is_secure": true, "ajax": false, "is_json": false, "decoded_content": "" }Steps to reproduce
Environment
Production
Version
Cloud
@bobbysciacchitano commented on GitHub (Mar 7, 2025):
Can confirm this is the case for setting the body type to application/json for a POST request.
@ddbdzung commented on GitHub (Mar 7, 2025):
Yes, I confirm that this happens when setting the content type to application/json for a POST request.
@gladykov commented on GitHub (Mar 7, 2025):
Can confirm with
multipart/form-dataAll I recieve is file attachment, but not text values
@jamesgeorge007 commented on GitHub (Mar 11, 2025):
Hi, we have a PR with the fix scheduled for the next patch release.
@jamesgeorge007 commented on GitHub (Mar 13, 2025):
Closing this issue since it's resolved in the latest release. Please let us know if you have any feedback.