DELETE should NOT require a JSON body even if the application/content-type is JSON

When I delete, I get
{
“code”: 8002,
“message”: “Could not parse request with message: Invalid Json”
}
Instead of succes.I tried to debug this for hours. And eventually turns out I have to add an empty JSON body “{}” since I have content type set tp application/json in the header.
However this is very inconvenient for me since the content type header is added in a centralized place for all my http requests. Now I have to write code to check and not add it for all ‘DELETE’ requests.

Hi Cordon,

which request leads to this error?

Stanislaw