In Rest service basic auth, when user is not having access to resource, system is returing error as 404 "Resource not found for". On local , system is returning response with content type as JSON but on deployed version, content type is html in case of 404. Why there is discrepancy on local and deployed version? If its because of custom error page, then For Rest Service, there should be content type as json in case of 404 .
The change is probably caused by the Mendix proxy-server.
Tim van Steenbergen
Returning text/html in the body of a 404 Not Found responds seems to be common.