Verify a URL

Verify a URL

Does anyone know how to verify a URL?  I've tried using GetURL function, but no matter what URL I send, I get the -1 and internal error response.      I guess I'm really looking for specific codes such as 403 or 404 and to prevent redirects.

Thank you,

Joe