mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4614] [bug]: POST body with Content-Type: x-www-form-urlencoded is not passed #1710
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#1710
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 @hydro63 on GitHub (Dec 13, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4614
Is there an existing issue for this?
Current behavior
DISCLAIMER: i'm not very proficient in networking


I was trying to do a POST request to Discord API to get a token, but it always failed, despite working in python. After debugging, I found out that it didn't send the body data. I then tried it as a normal request with x-www-form-urlencoded, and it still didn't work.
When i try to do a POST request with Content-Type: x-www-form-urlencoded for normal text properties, the body that i want to pass is not actually passed to the request
CONFIG:
PRODUCED CURL:
Steps to reproduce
Environment
Production
Version
Local
@Mrzhudky commented on GitHub (Jan 8, 2025):
I have discovered a similar issue. My request was successful, but when I tried to export the request as a shell cURL, I found that the data was empty. The 'application/x-www-form-urlencoded' type does not have data, while the 'content type: application/json' type has data.
@Munsen commented on GitHub (Oct 24, 2025):
I have similar issue with 'PUT' with JSON body
content-typewas not sent to server.I checked with WireShark.