mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1749] Cannot read property 'content-type' of undefined #558
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#558
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 @woodliu on GitHub (Jul 27, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1749
Describe the bug
When i send a Post request through hoppscotch ,it return 500.
To Reproduce
Just send a Post request to my local server.
I have checked the network inside the hoppscotch docker, the connection is ok.
And the proxy of hoppscotch has beed turn off.
Expected behavior
Return the right response
Screenshots


This is the error
This is the request
Desktop (please complete the following information):
@liyasthomas commented on GitHub (Jul 27, 2021):
Can you see any errors in the browser's console log? Please share a screenshot of the console log.
@woodliu commented on GitHub (Jul 27, 2021):
Hi, it's just a request ,nothing else


@liyasthomas commented on GitHub (Jul 27, 2021):
Please provide the screenshot of the "console" tab. Not the network tab.
@woodliu commented on GitHub (Jul 27, 2021):
Sorry, this is the screenshot

@liyasthomas commented on GitHub (Jul 27, 2021):
Turn on "Proxy mode" from settings to fix
CORSissue. Let me know it if solved your issue.@woodliu commented on GitHub (Jul 27, 2021):
Hi, there has no CORS issue, but the

content-typestill undefined...@HEI-cloud commented on GitHub (Jul 27, 2021):
have same error, just come from postwoman. few days ago, it has privacy problem, so turn to this hoppscotch.
@AndrewBastin commented on GitHub (Jul 28, 2021):
@woodliu @HEI-cloud This error should only appear when the app is running on dev mode (
npm run dev). But anyways, I have patched it up in commitd5cb9f1. If you still experience this problem, feel free to reopen the issue. The current solution is temporary as a revamp is taking place with the core architecture of the app.