【发布时间】:2016-04-14 06:04:45
【问题描述】:
我有 hello world 的简单云代码
//on parse cloud main.js
Parse.Cloud.define("hello", function(request, response) {
response.success("Hi");
});
(main.js in cloud) 并且从我的解析 JS 应用程序中我有这个
Parse.initialize('KEY', 'KEY');
Parse.Cloud.run('hello').then(function(response) {
// response
console.log(response);
});
在我请求此解析云 hello 函数后,它会响应 400 错误请求
{"code":141,"error":"function not found"}
请帮帮我。
【问题讨论】:
-
这是因为解析服务器错误
标签: javascript parse-cloud-code