@Aantat “Could the problem be that the value of the Content-Type is the ‘application’ and not the ‘xml’?”
That’s correct. Your Content-Type is ‘application/x-www-form-urlencoded’ which will not match the *xml* Content-Type expected to trigger the XML parsing and XMl profile assisngment. Hence, the data won’t be masked.
If all the requests to this URL are expected to be XML even if the request does not present the correct Content-Type, you can configure content-type ‘*form*’ and treat it as an XML.