我在 liferay 中有一个网络服务.. 响应将是
{"response":{"status":{"code":"200","message":"ok"},"userProfile": {"screenName":"testUser","userName":"testUser"}}}
从 ios 客户端使用它时出现以下错误:
Encountered unexpected response with status code: 200 (MIME Type: text/javascript)
The MIME type must be application/json for json resonse; please change
在 Liferay 中的何处配置以使 MIME 类型为“application:json”
谢谢你的帮助!