Our published web services are SOAP only at the moment. Support for publishing REST web services is on our roadmap.
However you could create your own published MTOM web service in Java and expose it through a custom request handler
Alternatively you could look into alternative options like having the customer create an exemption for the Mendix application(s).