Skip to main content

Check link (detailed)

Check if an HTTP or HTTPS URL returns an acceptable status code from a GET request.

Referenced In

Fields

FieldTypeDescriptionDefault
urlstringRequired. URL to check. Can be a full URL or a path. If a path is provided, origin must be specified.

Pattern: `(^(http://
https://
originstringOptional. Protocol and domain to navigate to. Prepended to url.
statusCodesone 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
]
}