diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/api/data-tables-invoker-api.jag b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/api/data-tables-invoker-api.jag index f8cfa13520e..5f34c846995 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/api/data-tables-invoker-api.jag +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/api/data-tables-invoker-api.jag @@ -62,6 +62,7 @@ if (uriMatcher.match("/{context}/api/data-tables/invoker")) { function (backendResponse) { response["status"] = backendResponse["status"]; response["content"] = utility.encodeJson(backendResponse["responseText"]); + response["contentType"] = "application/json"; } ); }