I'm trying to create a custom identity service - which I managed - however I'd like to run a check to see if the ID provided is actually a real ID.
I can do this by resolving a URL and checking for a status code (404 - page not found) but I'm not sure how to go about it. I know I'll have to put the check in the verifyAccountName() function, but is there a function I can use apart from cURL?