url
A set of tasks to check URL with curl.
url template details
- Status: stable
- File: https://gitlab.com/op_so/task/task-templates/-/raw/main/Taskfile.d/curl.yml
- Home: https://gitlab.com/op_so/task/task-templates
- License: MIT
List of tasks
Tasks | Description |
---|---|
url:check |
Check response code of an URL. Arguments: URL|U=http://url (*) |
url:perf |
Get performance of an URL. Arguments: URL|U=http://url [FILE|F=./perf_url.txt] (*) |
global variables
Variables | Description | Default value |
---|---|---|
- | - | - |
url:check
Check response code of an URL. Arguments: URL|U=http://url (*)
Arguments | Description |
---|---|
URL | U |
Url to check (required) |
Requirements:
- curl
url:perf
Get performance of an URL. Arguments: URL|U=http://url [FILE|F=./perf_url.txt] (*)
Arguments | Description |
---|---|
URL | U |
URL to check (required) |
FILE | F |
File path (optional, if not set output to terminal) |
Note: definition of metrics can be found here: https://blog.cloudflare.com/a-question-of-timing
Requirements:
- curl