Commit db6db6a4 authored by Sebastiaan Hoogeveen's avatar Sebastiaan Hoogeveen
Browse files

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

parent b7e92dbc
...@@ -112,8 +112,6 @@ _nederhost_rest() { ...@@ -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")"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment