mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5320] [bug]: Headers being lowercased and not sending properly. #2036
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#2036
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 @imeidopf on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5320
Originally assigned to: @soumyamakkar on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Edge
Operating System
Windows
Bug Description
I am passing a custom header 'X-API-Token', and the REST endpoint is receiving 'x-api-token'. This is causing the call to fail within Hoppscotch. Other API tools, like Postman and Axios, are not doing this.
Deployment Type
Hoppscotch Cloud
Version
No response
@soumyamakkar commented on GitHub (Aug 16, 2025):
can I be assigned this issue?
@jamesgeorge007 commented on GitHub (Aug 18, 2025):
Sure, @soumyamakkar. Feel free to open a PR when you're ready. Let us know if you need any help.
@soumyamakkar commented on GitHub (Aug 27, 2025):
I checked on Postman, and headers seem to be normalized to lower case there as well. Attaching a screenshot below for your reference
@soumyamakkar commented on GitHub (Aug 28, 2025):
@jamesgeorge007 please look into this once and let me know
@anwarulislam commented on GitHub (Sep 3, 2025):
Hi @imeidopf
Headers are being converted to lowercase by the underlying library (fetch/axios). This behavior is consistent across other API clients, including Postman. You may examine your server code or config, which may be preventing the request due to the restriction on the incorrect header key.