|
@ -150,7 +150,7 @@ _arvan_rest() { |
|
|
export _H1="Authorization: $token_trimmed" |
|
|
export _H1="Authorization: $token_trimmed" |
|
|
|
|
|
|
|
|
if [ "$mtd" = "DELETE" ]; then |
|
|
if [ "$mtd" = "DELETE" ]; then |
|
|
# DELETE Request shouldn't have Content-Type |
|
|
|
|
|
|
|
|
#DELETE Request shouldn't have Content-Type |
|
|
_debug data "$data" |
|
|
_debug data "$data" |
|
|
response="$(_post "$data" "$ARVAN_API_URL/$ep" "" "$mtd")" |
|
|
response="$(_post "$data" "$ARVAN_API_URL/$ep" "" "$mtd")" |
|
|
elif [ "$mtd" = "POST" ]; then |
|
|
elif [ "$mtd" = "POST" ]; then |
|
|