Solved
Check if the resource exists using JS without getting 404
Hi All,
Is there a way to check if a resource exists using JS without getting 404?
I am unable to find any library which does this job. I am using clientside JS.
For example : I am using $.getJSON() but it does throw 404 in console logs, if its an invalid resource
Kindly let me know the best solution for the above issue.
Thanks in advance!