Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

response status is still 200 on accessing a wrong URL #69

Open
Khushaliketan opened this issue Feb 24, 2021 · 0 comments
Open

response status is still 200 on accessing a wrong URL #69

Khushaliketan opened this issue Feb 24, 2021 · 0 comments
Labels

Comments

@Khushaliketan
Copy link

On accessing this wrong url through javascript async-await,
https://api.allorigins.win/raw?url=${encodeURIComponent('https://en.wikipedia.ori/wik/JSONP')}

the response status is:

image

instead of 404 or similar.
The correct url is: https://api.allorigins.win/raw?url=https://en.wikipedia.org/wiki/JSONP

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

No branches or pull requests

2 participants