Browse Source

Removed overwriting of the HTTP header file before sending a request.

Sebastiaan Hoogeveen 6 years ago
parent
commit
db6db6a4e9
1 changed files with 0 additions and 2 deletions
  1. 0 2
      dnsapi/dns_nederhost.sh

+ 0 - 2
dnsapi/dns_nederhost.sh

@@ -112,8 +112,6 @@ _nederhost_rest() {
   export _H1="Authorization: Bearer $NederHost_Key"
   export _H1="Authorization: Bearer $NederHost_Key"
   export _H2="Content-Type: application/json"
   export _H2="Content-Type: application/json"
 
 
-  :>"$HTTP_HEADER"
-
   if [ "$m" != "GET" ]; then
   if [ "$m" != "GET" ]; then
     _debug data "$data"
     _debug data "$data"
     response="$(_post "$data" "$NederHost_Api/$ep" "" "$m")"
     response="$(_post "$data" "$NederHost_Api/$ep" "" "$m")"