mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #441] graphql and websocket work, but http and https do not #168
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#168
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 @mabushey on GitHub (Dec 18, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/441
Describe the bug
Doesn't work for http and https requests. I tried enabling the proxy but the same result. It gets cookies and headers from the site, but appears to throw away the content.
To Reproduce
Steps to reproduce the behavior:
Error: Network Error. Check console for details. Same result with proxy enabled.
Network: headers
Expected behavior
Page pulled from google
Desktop (please complete the following information):
Additional context
It would be super helpful if the request could originate from the server component, that way I could test k8s endpoints from within the private cluster, without exposing any VirtualServices. Get and Post would need to work first... Running the
liyasthomas/postwoman:latestcontainer on k8s using CoreOS.@liyasthomas commented on GitHub (Dec 19, 2019):
Did you tried any other endpoints? I think https://www.google.com have tight Cross-Origin Resource Sharing policies. Try out with the default endpoint and see if the issue persist.
Read more about CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
Possible duplicate of #2
@mabushey commented on GitHub (Dec 19, 2019):
Probably Coors. My personal Grav blog doesn't even load in Postwoman. I have found one site other than reqres.in that does load: an instance of httpbin running in my k8s cluster. I think that the proper fix is to have the "server" make the requests instead of the browser. Until then I don't think I have any choice but to use the tool that works, Postman... :/ Your project is great, I wish you the best with it.