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

This commit is contained in:
Sebastiaan Hoogeveen 2019-03-12 14:36:42 +01:00
parent b7e92dbced
commit db6db6a4e9
1 changed files with 0 additions and 2 deletions

View File

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