Check link (detailed)
Check if an HTTP or HTTPS URL returns an acceptable status code from a GET request.
Referenced In
Fields
Field | Type | Description | Default |
---|---|---|---|
url | string | Required. URL to check. Can be a full URL or a path. If a path is provided, origin must be specified.Pattern: `(^(http:// | https:// |
origin | string | Optional. Protocol and domain to navigate to. Prepended to url . | |
statusCodes | one of: - integer - array of integer | Optional. Accepted status codes. If the specified URL returns a code other than what is specified here, the action fails. | [200,301,302,307,308] |
Examples
{
"url": "example",
"origin": "example",
"statusCodes": [
200,
301,
302,
307,
308
]
}