or content-type other than application/x-www-form-urlencoded, multipart/form-data or text/plain.
application/json is a content-type other than application/x-www-form-urlencoded, multipart/form-data or text/plain, and thus a request for it will fail unless the required CORS headers are present