Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Mocking dosn't work when using absolut Urls #56

Open
BennyAlex opened this issue Aug 10, 2020 · 1 comment
Open

Mocking dosn't work when using absolut Urls #56

BennyAlex opened this issue Aug 10, 2020 · 1 comment

Comments

@BennyAlex
Copy link

Hello,

the mockign dosnt work when I try to use an absolute URL (www.example.com/api/)

I already set the urlRoot to www.example.com/api/.

@muratcorlu
Copy link
Owner

Can it be related with CORS limitations? If you want to make a request to a different domain, requested server needs to return CORS response headers. https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants