gnuns / allOrigins

:alien: Pull content from any page as JSON via API

Home Page:https://allorigins.win/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

response status is still 200 on accessing a wrong URL

Khushaliketan opened this issue · comments

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