Browse Source

hard coded API URL

pull/4219/head
Hobby-Student 3 years ago
committed by GitHub
parent
commit
66c39a9a08
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dnsapi/dns_kas.sh

6
dnsapi/dns_kas.sh

@ -15,8 +15,10 @@
# Previous update by Marc-Oliver Lange <git@die-lang.es> # Previous update by Marc-Oliver Lange <git@die-lang.es>
# KASAPI SOAP guideline by https://github.com/o1oo11oo/kasapi.sh # KASAPI SOAP guideline by https://github.com/o1oo11oo/kasapi.sh
######################################################################## ########################################################################
KAS_Api_GET="$(_get "https://kasapi.kasserver.com/soap/wsdl/KasApi.wsdl")"
KAS_Api="$(echo "$KAS_Api_GET" | tr -d ' ' | grep -i "<soap:addresslocation=" | sed "s/='/\n/g" | grep -i "http" | sed "s/'\/>//g")"
# KAS_Api_GET="$(_get "https://kasapi.kasserver.com/soap/wsdl/KasApi.wsdl")"
# KAS_Api="$(echo "$KAS_Api_GET" | tr -d ' ' | grep -i "<soap:addresslocation=" | sed "s/='/\n/g" | grep -i "http" | sed "s/'\/>//g")"
KAS_Api='https://kasapi.kasserver.com/soap/KasApi.php'
_info "##KAS## Using $KAS_Api"
KAS_default_ratelimit=4 KAS_default_ratelimit=4
######## Public functions ##################### ######## Public functions #####################
dns_kas_add() { dns_kas_add() {

Loading…
Cancel
Save