mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5804] Opinion / Discussion: Cross-Origin API Issues in Hoppscotch (Web Version) #2269
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#2269
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 @pinkal26022005 on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5804
I’m facing an issue with cross-origin API requests not working in the Hoppscotch web API testing tool, and I’d like to get input from the developer/community perspective.
My setup:
Backend APIs are running on my macOS machine (my Mac acts as the server).
I generate a frontend build and serve it through NGINX, mapped to a custom domain.
From the Hoppscotch web app, when I try to hit cross-origin APIs, the requests fail due to browser CORS restrictions.
Currently, this only works if I use a browser extension or proxy, which is not ideal for all use cases.
My questions to the community/developers:
Is there any supported or recommended way to handle cross-origin API requests in the Hoppscotch web version without relying on a browser extension or proxy?
Are there best practices (server-side CORS configuration, reverse proxy setup, or Hoppscotch-specific features) that can help in this scenario?
Is this limitation inherent to browser security, or are there plans/workarounds within Hoppscotch to improve this experience?