x***@qq.com
x***@qq.com
  • 发布:2016-05-05 18:13
  • 更新:2016-05-05 18:28
  • 阅读:1014

求助如何使用mui.ajax发送jsonrpc请求?

分类:MUI

求助如何使用mui.ajax发送jsonrpc请求?

服务器始终返回

Response for preflight has invalid HTTP status code 500

2016-05-05 18:13 负责人:无 分享
已邀请:
wp_drifter

wp_drifter

mui.ajax(***,{
type:'JSON'


wp_drifter

wp_drifter

写错了
mui.ajax(*****, {
data: '我是JOSN格式的字符串',
dataType: ‘JSON’,
type: 'POST',
success: function(data) {
},
error: function(xhr, type, errorThrown) {
}
});

这样就可以了,还不行那就是服务端的问题了

  • x***@qq.com (作者)

    不行... 用jquery的库都是可以的。换了mui就不行了。

    2016-05-05 18:56

该问题目前已经被锁定, 无法添加新回复