mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
add some debug output and fix data in GET request
This commit is contained in:
parent
5d0dde5c15
commit
c16757b03a
@ -90,6 +90,7 @@ _get_root() {
|
|||||||
case "${domain}" in
|
case "${domain}" in
|
||||||
*${ITEM}*)
|
*${ITEM}*)
|
||||||
_domain=${ITEM}
|
_domain=${ITEM}
|
||||||
|
_debug _domain "${_domain}"
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -112,9 +113,9 @@ _regru_rest() {
|
|||||||
_debug data "$data"
|
_debug data "$data"
|
||||||
response="$(_post "$data" "$REGRU_API_URL/$ep" "" "$m")"
|
response="$(_post "$data" "$REGRU_API_URL/$ep" "" "$m")"
|
||||||
else
|
else
|
||||||
response="$(_get "$REGRU_API_URL/$ep")"
|
response="$(_get "$REGRU_API_URL/$ep?$data")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug2 response "${response}"
|
_debug response "${response}"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user