Browse Source

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

pull/2081/head
Sebastiaan Hoogeveen 6 years ago
parent
commit
db6db6a4e9
  1. 2
      dnsapi/dns_nederhost.sh

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")"

Loading…
Cancel
Save