我有这个简单的触发功能:
Parse.Cloud.afterSave("Iap", function(request) {
console.log("request: ", request);
});
并且使用empy request
调用它。
我在日志中得到了这个:
I2015-02-26T14:53:40.817Z]v180 after_save triggered for ABTesting as master:
Input: {"object":{"createdAt":"2015-02-26T14:53:40.782Z",...,"objectId":"tredfg5reresd","updatedAt":"2015-02-26T14:53:40.782Z"}}
Result: Success
I2015-02-26T14:53:40.830Z]request:
答案 0 :(得分:1)
我不确定本机Parse控制台会自动连接值。请尝试以下方法:console.log("request: " + request);