Skip to content
Snippets Groups Projects

update check_http

1 file
+ 1
5
Compare changes
  • Side-by-side
  • Inline
+ 1
5
@@ -103,7 +103,7 @@ ph.require "curl"
sUrl=$( ph.getValueWithParam '' u "$@")
sMethod=$( ph.getValueWithParam 'GET' m "$@" | tr [:lower:] [:upper:])
curlParams=$( ph.getValueWithParam '' c "$@")
curlParams=$( ph.getValueWithParam '' c "$@")
iStatus=$( ph.getValueWithParam '' s "$@")
sHeader=$( ph.getValueWithParam '' r "$@")
@@ -112,11 +112,7 @@ sNotInBody=$( ph.getValueWithParam '' n "$@")
sJq=$( ph.getValueWithParam '' j "$@")
sLabel=$( ph.getValueWithParam "" l "$@")
curlParams+=" -si -X $sMethod"
# echo "Url is $sUrl"
sProblems=
sOK=
Loading