Skip to content
Snippets Groups Projects
Commit dc799612 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update check_http

parent 69ee03fc
No related branches found
No related tags found
1 merge request!162check_http first lines
......@@ -7,7 +7,7 @@
# The response header and
#
# -------------------------------------------------------------------------------
# 2023-09-06 v0.1 <axel.hahn@unibe.ch>
# 2023-09-06 v1.0 <axel.hahn@unibe.ch>
# ================================================================================
. $( dirname $0 )/inc_pluginfunctions
......@@ -81,6 +81,9 @@ EXAMPLES:
Check if the GET request to url responds with 200..3xx
status and the response body NOT contains "error occured".
$_self -u [URL] -s 200 -b -b "contact" -n "error occured"
Combine code, a matching search and a non matching one.
EOF
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment