Checks if the given 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
The URL to check.
A boolean indicating whether the URL is a valid HTTP URL.
Checks if the given URL is a valid HTTP URL.
Example
Example
Example
Example