mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #426] No 'Access-Control-Allow-Origin' #162
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#162
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 @DavidSmith2018 on GitHub (Dec 13, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/426
use docker
#run
docker run -p 3000:3000 liyasthomas/postwoman:latest
' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
@AndrewBastin commented on GitHub (Dec 13, 2019):
Hi there,
Could you clarify the issue a bit more ?
CORS issues can be cleared (unless your target URL is local) by enabling the proxy.
Thank you!
@badandboy commented on GitHub (Dec 20, 2019):
I have the same question,
CORS be cleared by enabling the proxy on https://postwoman.io
but on my own site, it doesn`t work
@liyasthomas commented on GitHub (Dec 20, 2019):
Please consider reporting issues in given Issue template or at least tell how to reproduce the issue so we could track it and fix it ASAP.
@badandboy commented on GitHub (Dec 20, 2019):
all the methods can work well On the window system, on the linux system, they don`t works, including docker, npm run dev and npm run build
@liyasthomas commented on GitHub (Dec 22, 2019):
Our CI runs, tests and builds the project in Linux, and have successful Docker builds too. Please tell how to reproduce your issue.
@badandboy commented on GitHub (Dec 22, 2019):
1)Clone this repo with git.
2)Install dependencies by running npm install within the directory that you cloned (probably postwoman).
3)Start the development server with npm run dev.
site : http://postwoman.badandboy.cn
2,
1)Clone this repo with git.
2)Install dependencies by running npm install within the directory that you cloned (probably postwoman)
3) npm run build
4) config postwoman2.badandboy.cn to dir dist
site: http://postwoman2.badandboy.cn
3,
1)docker pull liyasthomas/postwoman
#run
2)docker run -p 8888:3000 liyasthomas/postwoman:latest
site : http://postwoman3.badandboy.cn
@gaoljhy commented on GitHub (Dec 25, 2019):
u just try send https://www.baidu.com on https://postwoman.io
why this can't happen in postman
And Why i must enable proxy to use
@liyasthomas commented on GitHub (Dec 25, 2019):
Hope this answers might help.
https://stackoverflow.com/a/10636765
https://stackoverflow.com/a/13400954
@gaoljhy commented on GitHub (Dec 27, 2019):
Okay,I get it,Thanks
So,Do I must enable a proxy to use it ?
@liyasthomas commented on GitHub (Dec 27, 2019):
Unless the server doesn't imply any restrictions or we have an offline build. #267
@gaoljhy commented on GitHub (Dec 28, 2019):
So cool !