Checks if the given URL is a valid HTTP URL.
The URL to check.
A boolean indicating whether the URL is a valid HTTP URL.
isValidHTTPUrl('http://example.com') // true Copy
isValidHTTPUrl('http://example.com') // true
isValidHTTPUrl('https://example.com') // true Copy
isValidHTTPUrl('https://example.com') // true
isValidHTTPUrl('ftp://example.com') // false Copy
isValidHTTPUrl('ftp://example.com') // false
isValidHTTPUrl('example.com') // false Copy
isValidHTTPUrl('example.com') // false
Checks if the given URL is a valid HTTP URL.