HttpStatus

This feature is free. Check out the awesome benefits of becoming a Pro User.

=HttpStatus(string url, [string requestMethod=GET]) : string


Purpose

Returns the HTTP status code and its description. Use this function to find broken links.

HttpStatus also retrieves the Location header (useful for debugging redirects).

Use UnshortUrl to get the url of the last redirect.


Request method

By default, HttpStatus uses HTTP GET request method instead of the faster and preferable HEAD method. This is because some websites return 404 when using HEAD.


See

Related Functions


Get help with this function in the community →